Provisioning Profile Not Being Export With Archive

I've made tremendous progress in developing a Mac OS X that will use GameKit features. I can get two instances of the Application connected via the Game Center provided I am using the version built with Xcode on each of my machines.


I've careful reviewed the document from Apple for "Exporting Your App for Testing (Mac)". I have creating a Provisioning Profile for my application and would like to export this application to registered machines for further testing. The provision profile is visible when viewing my account in Xcode (“Mac Team Provisioning Profile : com.<proper path and app name here>"). .


I Archive the application, then export and select "Export a Developer ID-signed Application", I select my Development Team for provision, the application successfully exports. The summary shows that my signing identity has been applied.


Here is the problem - on the table below that shows the Entitlements (I have 3: com.apple.security.network.sever, com.apple.secuirty.network.client, and com.apple.security.app-sandbox) but shows "none" for provisioning profile.


The provisioning profile in my building settings are setup ("Mac Team Provisioning Profile: com.<proper path and app name here>").


If I export to the app another computer that has been registered an the provision profile has been installed, the app runs, but cannot connect to Game Center (because the provisioning profile has not been exported with it).


Have a missed a setting somewhere. I've scoured both Xcode, the Apple documentation and message boards - now I am stuck. Really stuck! My next option is to use one of my support tickets - but I thought I would check and see if I am missing something obvious.

I Archive the application, then export and select "Export a Developer ID-signed Application" …

I’m confused by this. Developer ID apps don’t use provisioning profiles, and thus they cannot use entitlements, so I’m not sure why you’re adding Developer ID into the mix here.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I have been following the guidelines from “Exporting Your App for Testing (Mac)” (https://developer.apple.com/library/mac/documentation/IDEs/Conceptual/AppDistributionGuide/BetaTestingYourMacApp/BetaTestingYourMacApp.html)

It is my understanding that I must include a provisioning profile if I plan to use an Entitlement (such as GameKit).


The document states: “Mac apps can be configured to launch outside Xcode on designated test devices using the team provisioning profile.”


and allso: “When you export a Mac app from Xcode, it embeds the team provisioning profile in the bundle and code signs the app with your development certificate”


The document them demonstrates the exporting on an application with 6 entitlements. This part on the document show the following:


“To export a development certificate signed app using the team provisioning profile:


1) In the Archives organizer, select the archive and click Export.

2) Select “Export a Development-signed Application” and click Next.

3) In the dialog that appears, choose a team from the pop-up menu and click Choose.

4) If necessary, Xcode creates the needed signing identity and provisioning profile for you.


In the dialog that appears, review the app, its entitlements, and the provisioning profile, and click Export.

The team provisioning profile should begin with the text Mac Team Provisioning Profile:.”


My provisioning profile is NOT listed and the app will not connect to Game Center when ran on a computer that have been added to the pool of devices approved for this profile.

I have been following the guidelines from “Exporting Your App for Testing (Mac)”

Right, but that page doesn’t mention Developer ID. Specifically, the page recommends “Export a Development-signed Application” whereas your first post said you chose “Export a Developer ID-signed Application”, hence my confusion.

Share and Enjoy

Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Provisioning Profile Not Being Export With Archive
 
 
Q