4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

App Extension使用時に発生したエラー「embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings match the parent app's.」の解決法

Last updated at Posted at 2019-06-27

[前提]iOSの開発でApp Extension (https://qiita.com/motokiee/items/1f9147e6eb18f51937af)
を利用していた。
アプリ配布のためApp本体のProvisioning Profileなどを整えた所、タイトルのエラーが発生した。

[原因]App本体とApp ExtensionでProvisioning Profileや開発チームが異なっていた事(App本体のProvisioning Profileと開発チームだけ手動で設定したのに、App Extension側は自動設定のままで放置していた事)が原因だった。

[解決法]App Extension用にProvisioning Profileを作成し、Xcodeの TARGETS > (Extensionの名前) > Signing でAutomatically manage signingを外し(手動設定にし)、同メニューのSigning(Release)> Provisioning Profile からProvisioning Profileを設定した。

同時に、TARGETS > (Extensionの名前) >Build Settings > Signing > Code Signing Identity > Release より、開発チームを親Appの開発チームと合わせた。

[参考資料]https://stackoverflow.com/questions/25927604/xcode6embedded-binary-is-not-signed-with-the-same-certificate-as-the-parent-app/29848788

4
4
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
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?