Profile Profile for Today Widget Extension

I am trying to archive the application to submit, but I am having problems with code signatures.

Basically, I have the Today Widget extension for my application. I am not sure that I should configure the preparation profile as. I assumed that I just use the same profile that I used for my application, however I get this error:

The provisioning profile specified in the build settings ("AppName") has an AppID "BundleID" that does not match your package ID "BundleID2". Xcode can solve this problem by downloading a new provisioning profile from Member Center.

I can, of course, click “Fix Issue”, but will this really solve the problem? It just changes the settings of my distribution to "iOS Developer" and provides a profile of "Automatic."

+43
ios xcode provisioning-profile ios-app-extension
Sep 14 '14 at 20:30
source share
2 answers

I struggled with the same problem and solved it like this:

  • You need one app id configured for the initialization portal (I assume you have com.apple.yourappname )
  • Then you need to configure the second application identifier for the Today widget (which should be com.apple.yourappname.something , where something is the name of your widget, for example Today)

Then you need to create two application store distribution support profiles:

  • One for the main application
  • The second for the widget

Then assign the correct preparation profiles for each goal to the project settings and configure for assembly for distribution.

+114
Sep 22 '14 at 19:11
source share

Try creating a new application identifier to extend your application in certificates, identifiers and profiles ( https://developer.apple.com/account ). Then create a Provisioing profile for the newly created application identifier.

If the package ID for your application is com.apple.appname, you create application extensions with the package ID com.apple.appname.appextensionname. The same identifier is then used in Xcode for the widget.

+1
Sep 21 '14 at 16:32
source share



All Articles