Embedded Binary Bundle Identifier: (null)

Hi, I'm trying to build a Notification Service Extension. When I run the application, I get the error:

Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier.

Embedded Binary Bundle Identifier:(null)

Parent App Bundle Identifier: ##.#####.#####

I have no idea why the identifier of the embedded bundle could be null. In the General tab of the extension, I have set it so that it has a common prefix with the parent app. In the Info tab, the value for Bundle Identifier is $(PRODUCT_BUNDLE_IDENTIFIER), and I cannot change that to anything else. Whenever I build, it goes back to this.

Xcode Version 13.0

Any ideas?

Post not yet marked as solved Up vote post of JohannesD Down vote post of JohannesD
4.7k views
  • I've run into the exact same issue with Xcode version 13.2.1 after adding a widget target.

    Did you ever manage to get past this Johannes?

Add a Comment

Replies

+1, Same issue in Xcode 13 and still not working! could somebody help us?

  • Did you ever figure it out?

Add a Comment

The above issue may arise when you try to archive the project with the legacy build system. In order to solve it, open your widget's info.plist from the project navigator. Now manually add the "Bundle Identifier" key and the appropriate value. Hope it helps!

  • This worked! Thank you so much, this had become a real headache for me

  • it works

  • It really helped. Thx.

Add a Comment