Validation Issue. No Available ID

Hi there,
I am attempting to validate my app, but am told that there are no identities available for signing. Apple forums suggest I ask here, surprisingly. For the record I have just updated Unity to 3.5.7 and Xcode to its latest.

Below is what I posted in Apple. Hopefully someone has an answer.

Cheers.

///////////////
//////////////////////
////////////////////////////
renman3000 wrote:

Hi there,
I am attempting to validate my app pre distribution. When I do tho after logging in I am granted with a window telling me there are no identities available for signing. I then went to my portal and downloaded my provisioning porfile downloaded the profile. I also went to my App IDs and can see the attached pic (no.2).

Any insight? please pass it on.

Provisioning Portal, Apple IDs

Before you build the app in XCode, do check what profile you’re using to sign it. It should probably be iPhone distributor or something like that. You can find it in the XCode when you choose your target (not project), build settings tab, code signing / code signing identity / Release. What do you have there? There you should have distributor identifier choosen (not developer). If you have wrong identifier here (for example the developer), then the built binary will not contain signing of the distributor.

You have created the distributor provisioning profile in the provisioning portal (Provisioning / Distribution), right?

In addition to what mtovio said, this video that Unity made a few weeks ago might help:

http://blogs.unity3d.com/2012/12/13/how-to-submit-to-the-ios-app-store-a-unity-guide/

Thanks both.

  1. My Code Signing, Release was not se to a distribution profile.

  2. The only distribution one available in the XCode window, is “iPhone Distribution”. I can not see the distribution profile I created in the portal “bVdDPP”. Only a bunch of developer profiles.

  3. I did download the profile bVdDPP and dragged it onto XCode. It can be seen in the Organiser as a valid profile.

  4. When I try to archive now I am greeted with this error now…
    “Code Sign error: No unexpired provisioning profiles found that contain any of the keychain’s signing certificates”

Unsure what to do now.

follow the apple guidelines to the absolute letter on developer.apple.com

don’t miss any steps out, it’s easy to miss a step.

common gotchas:

creating provisioning files for ad hoc distribution instead of store distribution
creating provisioning files for development instead of store distribution

failing to go to build settings in xcode and setting the correct distribution profile manually - this is common.

Remember for a build to the appstore you need to first ready the app on the itunes connect side, then upload by using the archive option in xcode after above steps.

Remember, a valid distribution provisioning profile for app store CANNOT be run on your test device (this is normal and OK).

You are usually doing things right, but missing the tiniest details like wrong provisioning files / incorrect profile set in build settings in xcode.

Thanks.

Yes, my Distribution Profile is set to App Store, not AdHoc. It still can not be seen in the drop down selection window for Code Signing, Release… the profile should be “bVdDistProfile”, this exists in the Organiser, but not here as you can see.

On the iTunes Connect side, my app is “Waiting For Upload”.

Any clues from that?

!!! So close, yet so far away…

According to this post (pic)… The bundle identifier may be the culprit. If so, what is the source I am adjusting my bundle id to? Currently mine has (forgive me if my syntax is wrong but Unity is closed) com.companyname.bVd. So if this is true, what am I basing “bVd” off of?

//

Just a quick question, where do I set my bundle identifier… beyond in PlayerSettings… does XCode just see what I put in to that Unity field and adjust accordingly or is it set some where else, outside of Unity?

Edit.
In hindsight that is not the issue. Will keep posted. Thanks!

edit.
Shiver me timbers, I may have found it.

Hey Renman, I’m trying to deal with the same issue… read down this post, only to see “I may have found it” and then no solution. Can you share with us? I have worked to make my first app and with all the work I’ve done I find myself pulling my hair out when it comes to Apple X-code. For every step I take, there seems to be something broken. RIght now I am exactly where you are here.

You seem to have the most recent posting on this subject, which is always a good thing to be able to find recent info rather than something years old.

so, can you tell us what you found?
thanks!