I'm trying to add a Widget to an existing app. When I try to run on an iPhone 5 I get the following error:
error: 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.
Embedded Binary Signing Certificate: iPhone Developer: (Developer name) (number)
Parent App Signing Certificate: iPhone Developer: (Developer name) (number)
Running on an iPhone 5 Simulator works fine.
The provisioning profiles app id includes a wildcard and are both signed with the same cert. The bundle identifier in the extensions plist file is different from the main app (main.app.identifier.$(PRODUCT_NAME:rfc1034identifier)
).
I already tried the following solutions:
Give it a try with two specific provisioning profiles, app extensions are a little weird that way.
Rick's comment did the trick!