Provisioning profile for Today Widget extension
Solution 1:
I was struggling with the same problem, and resolved it this way:
- You need one App ID configured to the provisioning portal (I assume you have your
com.apple.yourappname
there) - You need to then configure the second App ID for the Today Widget (which should be
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:
- One for the main App
- Second one for the widget
Then assign the correct provisioning profiles for each target to the project settings and set to build for Distribution.
Solution 2:
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.
Solution 3:
My problem was because of i added "arm" in the Excluded architecture
section. I revert it and the problem goes away. It is weird.