Jump to content

  • Log In with Google      Sign In   
  • Create Account

Code signing error trying to deploy to my iPad


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 jwezorek   Crossbones+   -  Reputation: 1861

Like
0Likes
Like

Posted 04 November 2012 - 06:20 PM

Hey, i'm totally new to iOS development and cannot for the life of me get a "Hello, World" app that builds fine to the simulator, to build and deploy to an actual device. I'm getting this error:

"Code Sign error: A valid provisioning profile matching the application's Identifier 'com.myfakecompany.testo' could not be found"

Here's what I have done:
  • Paid $100 to Apple.
  • generated a Apple Developer Certificate. Don't really understand what this means, but followed the instructions, and I think it worked. My Keychain Access program thingie shows an item for the certificate like iPhone Developer: John Doe (AB12C3BLAH) with an item like iOS Developer: John Doe (John Doe) below it in the tree view. When I click on the lower item it says "certificate is valid"
  • From Apple's provisioning portal, created an App ID for 'com.myfakecompany.testo'.
  • From the provisioning portal, created a Development provisioning profile with this app ID.
  • Downloaded the above and dragged this file into XCode's Organizer window into the item for provisioning profiles for my iPad. This all seems like it worked, in the listview in Organizer I see an item form the provisioning profile with App ID like <10-char rand alphanumeric string>.com.myfakecompany.testo that has a green check mark next to it.
  • Entered com.myfakecompany.testo into my XCode project in two places, as the Bundle ID in the Info.plist file and as the Bundle ID in the project 'info' tab.
  • Set all the Code Signing Identity preferences in the build settings of the project to "iPhone Developer: John Doe (AB12C3BLAH)"
Does anyone see anything wrong with the above? Also if I can't get this to work, can someone suggest a fairly up-to-date tutorial that goes from zilch to deploying a "Hello World" app on a device, specifying the source code and everything, because I may have to just start from scratch.

Edited by jwezorek, 05 November 2012 - 01:35 PM.


Sponsor:

#2 Madhed   Crossbones+   -  Reputation: 2978

Like
0Likes
Like

Posted 04 November 2012 - 06:26 PM

Did you install the provisioning profile on the ipad? Edit: I see, you did.

I also encountered a nasty bug lately: Make sure there are no .DS_Store files in your app as they can screw up the code signing process.

Edited by Madhed, 04 November 2012 - 06:29 PM.


#3 jwezorek   Crossbones+   -  Reputation: 1861

Like
0Likes
Like

Posted 04 November 2012 - 08:28 PM

No .DS_Dtore files that I can see.

One thing I notice which may be weird ... in the Organizer/Devices/Provisioning Profiles view for my iPad. I have one profile visible as described above. This profile has "Unknown" in the "Team" column. Is that wrong?

EDIT: Actually there is another clue I forgot to mention: In the build settings my signing identity shows up under "Identities without provisioning profiles".

Edited by jwezorek, 05 November 2012 - 10:33 AM.


#4 jwezorek   Crossbones+   -  Reputation: 1861

Like
1Likes
Like

Posted 05 November 2012 - 08:10 PM

I fixed it ... the only thing I had to do was in Organizer/Devices/LIBRARY/Provisioning Profiles press the refresh button. That fixed everything.

So ... wow ... that was retardedly more difficult to figure out than it needed to be. All that was needed was a meaningful error message or warning ... "

Edited by jwezorek, 05 November 2012 - 08:46 PM.


#5 Madhed   Crossbones+   -  Reputation: 2978

Like
0Likes
Like

Posted 06 November 2012 - 01:43 AM

Oh good to hear. Yeah the whole signing process can sometimes be a real PITA. Expect more insanity to follow. Posted Image




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS