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?

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

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?

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!

Embedded Binary Bundle Identifier: (null)
 
 
Q