Hi there,
I am trying to submit an update to an existing app on the Mac App Store. The goal posts keep moving and it's already a bit of a nightmare. Now I've reached an issue which I can't seem to get beyond.
My game is developed in Unity, and I'm using the combination of codesign/productbuild in terminal to build the installer, then Application Loader to deliver it. I'm running OS X 10.11.2, XCode 7.2 (7C68) and Application Loader 3.4 (902). Here are the two errors from Application Loader:
ERROR ITMS-90287: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'com.apple.developer.game-center' in 'org.COMPANY.GAMENAME.pkg/Payload/GAMENAME.app/Contents/MacOS/GAMENAME'."
ERROR ITMS-90287: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'com.apple.application-identifier' in 'org.COMPANY.GAMENAME.pkg/Payload/GAMENAME.app/Contents/MacOS/GAMENAME'."
On the Apple developer portal I can verify that my provisioning profiles do indeed have the required keys (From dev portal: "Enabled Services: Game Center, In-App Purchase"). My certificates seem to be installed correctly, and XCode reports that it has all of the provisioning profiles downloaded. The basic setup is correct, as Apple have already approved several versions of this app and it is currently live on the Mac App Store.
Can anybody advise: is it possible to see which provisioning profile is actually being used here? I suspect that the wrong profile is being selected somehow, but I'm not sure how to tell which is actually being used. Can anybody give any suggestions on what to try next?
Thanks for your help.
Ben
Distribution issues aren’t really my forte but I believe that you will need an
embedded.provisionprofile
inside your app if the app uses entitlements that must be whitelisted by a provisioning profile. Certainly, if I create a
.pkg
using Xcode’s Organizer (Save for Mac App Store Deployment), it has a copy of the distribution profile embedded within it.
Share and Enjoy
—
Quinn "The Eskimo!"
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
DTS will close for the winter holidays at the end of business on Wed, 23 Dec 2015 and re-open on Mon, 4 Jan 2016.