Search code examples
iosxcodeintents-extension

Code Signing error when building on device


I am just trying to run the test code on the Apple Dev site for CallKit and can get the code to run fine on the onscreen simulator, but not on my actual iPhone X external device. I am getting the error Code Signing Error:

Signing for "IntentsExtension" requires a development team. Select a development team in the project editor. Code Signing Error: Code signing is required for product type 'App Extension' in SDK 'iOS 11.3'

I've read that the intents extension is for Siri, and not sure how that's involved in this demo. I am signed into my developer account. I tried updating my phone OS. What else should I try?


Solution

  • screenshot

    make sure

    • two targets have the same bundle identifier prefix. such as us.forus.apple-samplecode.blablabla.
    • the signing team can't be blank