Those are my first steps in IOS applications development and I\'m facing some problem that I can\'t figure out.
error: Embedded binary is not signed with the
In my case the issue was caused by a discrepancy between the signing of two targets. The issue was between:
In my AdHoc scheme, under the TestApp target, I disabled the automatic signing because I wanted to specify the provisioning profile and the certificate.
The steps I followed were:
Signing & Capabilities -> AdHoc -> Signing (section)
Build Settings -> Signing (section)
Code Signing Identity
, choose for both AdHoc
and Any SDK
the certificate I wanted to useCode Signing Style -> AdHoc
, chose ManualProvisioning Profile -> AdHoc
, chose the provisioning profile I wanted to use (i.e. the same as step 1.2)The error was thrown because I didn't apply the same settings to the notificationServiceExtension target (which was still using the automatic signing and therefore another certificate). As soon as I have repeated the steps above also for this target, the error was gone.
I hope it can helps someone, because this error drove me crazy!