Upload profile file - Choose Open icon, and then choose an Apple Mobile Configuration Profile file (with the extension . mobileprovision ) that you downloaded from the Apple Developer website.
But as per my knowledge, the Notification Service Extension has it's own bundle id, it must be set up with it's own App ID and provisioning profile.
After logging in to the iOS Provisioning Portal, click Provisioning in the sidebar. Click either the Development or Distribution tab to display the appropriate profiles. Click the Download button, in the Actions column, for the profile you want to download.
I was struggling with the same problem, and resolved it this way:
com.apple.yourappname
there)com.apple.yourappname.something
, where something is the name for your widget, like Today)Then you need to create two App Store Distribution provisioning profiles:
Then assign the correct provisioning profiles for each target to the project settings and set to build for Distribution.
Try to create a new App Id for your App extension in Certificates, Identifiers & Profiles (https://developer.apple.com/account). Then create a Provisioing profile for the newly created App id.
If the bundle id for your App is com.apple.appname you create an app extensions with the bundle id com.apple.appname.appextensionname. The same id is then used in Xcode for the widget.
My problem was because of i added "arm" in the Excluded architecture
section. I revert it and the problem goes away. It is weird.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With