iOS8 extension needs own provisioning profile?

前端 未结 5 515
庸人自扰
庸人自扰 2021-01-31 14:52

I am starting an iOS 8 extension but I can\'t run it on my device. The error when trying to run it is:

No matching provisioning profiles found

5条回答
  •  爱一瞬间的悲伤
    2021-01-31 15:21

    I simply use "Automatically manage sign in" until I need to push to App store. This works out of the box with simulators, haven't tried with devices yet.

    Few pointers for Appstore Build:

    1. I created one wildcard id for every notification extension, but the prefix of this wildcard bundle id should match your app's bundle id as prefixed. If it's not like this, this error will come up: "Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier". So, if your app's bundle-id is: "com.companyName.appName", the wildcard bundle-id for your extension should be "com.companyName.appName.*". You can then replace * with a specific notification extension in the XCode. Note apple only allows one period(".") after the app's bundle id for naming your extension's bundle id.
    2. The version and build number of your extension should match that of your app.
    3. Once App Id is created, create a distribution provisioning profile with this and use it in XCode.

提交回复
热议问题