Embedded Frameworkとかでモジュール分けている時にデバッグビルドは出来るのに、
アーカイブしようとするとheader "ModuleName-swift.h" not found
と言われて出来ない時がある。
今回の場合は、App extension等のターゲットにそのモジュールが巻き込まれていないのが問題で
AppExtensionのターゲットのBuild PhaseのTarget Dependenciesに対象のモジュールを指定すればちゃんと通った。
Go to list of users who liked
More than 5 years have passed since last update.
Embedded Frameworkとかでモジュール分けている時にデバッグビルドは出来るのに、
アーカイブしようとするとheader "ModuleName-swift.h" not found
と言われて出来ない時がある。
今回の場合は、App extension等のターゲットにそのモジュールが巻き込まれていないのが問題で
AppExtensionのターゲットのBuild PhaseのTarget Dependenciesに対象のモジュールを指定すればちゃんと通った。
Register as a new user and use Qiita more conveniently
Go to list of users who liked