LoginSignup
1
2

More than 5 years have passed since last update.

XcodeでInclude of non-modular header inside framework module "XXX" エラー

Posted at

Include of non-modular header inside framework moduleエラーが出てビルドが通らない。
ネットを漁っているとこちらのissueを発見.

https://github.com/ReactiveX/RxSwift/issues/411
https://github.com/CocoaPods/CocoaPods/issues/4835

issueにも書かれているがrecursiveにするのはあんまり良くないようで(別の問題が発生するかも)。
ただ、とりあえずビルド通したかったのでrecursiveにしてみるかー、とBuild Settings -> Header Search Pathsを見てみたら、すでにrecursiveになっていた!
これのせいじゃないの?、ってことでnon-recursiveに戻したらエラー解消しました。

同じエラーの時はBuild Settings -> Header Search Pathsの設定を見直してみるといいかもしれません。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2