SOLVED -- Invalid Provisioning File, Missing Code Signing Certificate, Problems with Bundle name
Cruncher
Member, PRO Posts: 24
Guys, I'm a complete beginner when it comes to the app stuff and at last I sorted mine (and yours!) problems out and I'm happy to share with you my solution as learning & figuring out how to successfully upload an app to the AppStore cost me many hours.
First of all you need to check if your Development and Distribution certificates are correct. I learned it is essential to create the request using the email address and the Name Surname used while registering for the developer account with Apple. I had a mistake there and that's one of the reasons why I couldn't upload my app (for advice how to do it, check GS's cookbook: http://cookbook.gamesalad.com/tutorials/3/parts/12 -- all works).
When you get this error "Missing Code Signing Certificate" while trying to upload your app, it basically means that the right certificate is not installed on your mac. When right means belonging to the person who has the Apple Developer account.
So one more time - please log in to https://itunesconnect.apple.com and check your account settings (email + name used).
The next step is creating provisioning profiles based on the correct certificates. You also do it here: http://itunesconnect.apple.com, as explained in the CookBook (this same link as above).
If the certs are incorrect, you won't be able to sign your app as the prov. profiles also will be incorrect!
When the certs and profile are set up, you need to download and install them (give them a click and that's it; but you have to have Xcode).
Now you can go to your GameSalad portfolio and click "generate app" (after choosing the device from the left hand side menu).
When you are prompted to sign the app, choose from the list the newly created DISTRIBUTION certificate. All should be fine provided you did set up your certs and profiles correctly.
Launch the Application loader and select the app you want to send. The app information has to be already in the your iTunes connect account - there's a chapter in the CookBook how to do it. You won't be able to upload the app if this information is not there. Click next and voila!
http://forums.gamesalad.com/utility/thumbnail/2944/~cf/FileUpload/f5/cafea545a8902d6ba7c79662b9c7e0.png
The only problem was a warning I got, but I'll contact GS about it:
http://forums.gamesalad.com/utility/thumbnail/2958/~cf/FileUpload/4d/31e9a0f01f2ee031bf39d1a8870136.png
And lastly - if you also had a problem with the bundle ID - you need to make sure that the one you set up in the web publisher
(http://publish.gamesalad.com):
http://forums.gamesalad.com/utility/thumbnail/2959/~cf/FileUpload/aa/f14687180da6442dee8af13ada3387.png
is exactly the same as the one set up in your https://itunesconnect.apple.com:
http://forums.gamesalad.com/utility/thumbnail/2960/~cf/FileUpload/c4/05b9bdf82da24d554f46b3aba79f56.png
Good luck, let me know if it helped you!
First of all you need to check if your Development and Distribution certificates are correct. I learned it is essential to create the request using the email address and the Name Surname used while registering for the developer account with Apple. I had a mistake there and that's one of the reasons why I couldn't upload my app (for advice how to do it, check GS's cookbook: http://cookbook.gamesalad.com/tutorials/3/parts/12 -- all works).
When you get this error "Missing Code Signing Certificate" while trying to upload your app, it basically means that the right certificate is not installed on your mac. When right means belonging to the person who has the Apple Developer account.
So one more time - please log in to https://itunesconnect.apple.com and check your account settings (email + name used).
The next step is creating provisioning profiles based on the correct certificates. You also do it here: http://itunesconnect.apple.com, as explained in the CookBook (this same link as above).
If the certs are incorrect, you won't be able to sign your app as the prov. profiles also will be incorrect!
When the certs and profile are set up, you need to download and install them (give them a click and that's it; but you have to have Xcode).
Now you can go to your GameSalad portfolio and click "generate app" (after choosing the device from the left hand side menu).
When you are prompted to sign the app, choose from the list the newly created DISTRIBUTION certificate. All should be fine provided you did set up your certs and profiles correctly.
Launch the Application loader and select the app you want to send. The app information has to be already in the your iTunes connect account - there's a chapter in the CookBook how to do it. You won't be able to upload the app if this information is not there. Click next and voila!
http://forums.gamesalad.com/utility/thumbnail/2944/~cf/FileUpload/f5/cafea545a8902d6ba7c79662b9c7e0.png
The only problem was a warning I got, but I'll contact GS about it:
http://forums.gamesalad.com/utility/thumbnail/2958/~cf/FileUpload/4d/31e9a0f01f2ee031bf39d1a8870136.png
And lastly - if you also had a problem with the bundle ID - you need to make sure that the one you set up in the web publisher
(http://publish.gamesalad.com):
http://forums.gamesalad.com/utility/thumbnail/2959/~cf/FileUpload/aa/f14687180da6442dee8af13ada3387.png
is exactly the same as the one set up in your https://itunesconnect.apple.com:
http://forums.gamesalad.com/utility/thumbnail/2960/~cf/FileUpload/c4/05b9bdf82da24d554f46b3aba79f56.png
Good luck, let me know if it helped you!
Comments
Good luck!
- I've created my app on the itunes manage your app and it's in " waiting for upload "
- When i try to create a new certificate the button " iOS App Development " in unclickable
i can only choose " Apple Push Notification service SSL (Sandbox) " or the production choices.
Why is that ?
Good to hear it and good luck with your app!
@Cruncher After I renewed my Apple Developer Membership, I renewed my Developer Certificate and Distribution Certificate, but neglected to download the Distribution Certificate.
So, when I tested AdHoc builds in GameSalad I used bogus App IDs and signed with my Developer Profile or Team profile which was fine for testing.
But, when I tried to complete an App Store build with an App ID created in the Provisioning Portal, and with a Distribution Profile (xxx.mobileprovision file) installed in Xcode, also set up in iTunes Connect, GS it kept rejecting it.
Then I tried signing with my Developer Profile and Application Loader rejected the upload. Error ITMS–9000: "Invalid Provisioning Profile…..[Missing code-signing certificate.]
Your post helped quite a bit in sorting this out, except that since the the Provisioning Profile Menu was deleted in Xcode 5, I could not find a way to check what certificates I had that were valid and installed in Xcode.
Keychain Access showed that I had valid Developer and Distribution Certificates, but it does not show Provisioning Profiles.
The Provisioning Portal showed valid Developer and Distribution Certificates, and a bunch of current AdHoc and Store Provisioning Profiles, including the one I was trying to use?
I have been going in circles for days repeating the GS CookBook instructions, watching Tshirt Booth's and Braydon's videos, reading the Apple Developer Guidelines and searching the forums.
Finally today I found your post just by chance and a link from LumpApps in another post about Mavericks.
What the link LumpApps post amounts to guys is this:
Launch Xcode and follow the path Preferences>Accounts (which displays your Developer info) > View Details (your Signing Identities and Provisioning Profiles will all be displayed).
HERE IS THE TRICK - Hit the refresh button in the bottom left corner and Xcode will update everything you have set up in the Provisioning Portal.
In my case it added the missing master Distribution Certificate.
App now successfully uploaded and waiting review.
I also noticed that creating Wildcard App IDs DO NOT work (at least for me!); it's necessary to create unique IDs for each app...