[SOLVED] iOS Device Certificate problem

gstevenshome

  • Posts: 29
Hello guys.  I'm getting a certificate error when I try to export a project to my IOS device once I've successfully gone through all of the certificate set up instructions: http://www.stencyl.com/help/view/ios-certificates-guide-2

The logfile error is:
[LOG] Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.

From the troubleshooting guide i'm told it's likely to be the following:
Q: You see an error in the logs about "no identity found"
A: Several possibilities similar to the above.
- Your certificate expired (check Keychain Access or the Apple Developer Portal).
- You exported the Development, rather than Distribution certificate or provisioning profile.
- You didn't specify a password when exporting the p12 file or entered in an incorrect password.

I'm a subscribed member, so we should be able to export to iOS.  My iOS distribution certificate is valid and wont expire until 2015.  I'm definitely using the Distribution certificate and not the development certificate and I specified a password which I then used in Stencyl setup.  I've tried it a number of times, on a number of different projects (my game, and also a brand new blank project) and tried it on 2 different computers and getting the same error each time. We tested it on a computer using xcode 5 and another using xcode 6.  I basically get the same error on every project on every computer.   I've even deleted all of the certificates and started the while process again, to no avail.

Any ideas out there as i'm a bit stuck now!  Thanks in advance.


« Last Edit: October 23, 2014, 10:15:54 am by gstevenshome »

Electric Fruit

  • Posts: 116
Have you imported all the certificates in to Xcode?

gstevenshome

  • Posts: 29
I've downloaded and installed the Apple Distribution certificate  P12 (its in my keychain and valid with the key) and then got the two provision profiles (adhoc and distribution) and double clicked them to install on my mac.  I then try Test to IOS Device or Publish to IOS and get the error above whatever I try.

Do I have to open xcode and import any certificates in there too?  If so, where do I add that?

rob1221

  • *
  • Posts: 9473
You need the development provisioning profile installed too.

gstevenshome

  • Posts: 29
Thanks!  That worked :) 

hosoji

  • Posts: 15
Hey guys,
I was getting the same error as gstevenshome and I redid the whole certificate process as well. I verified everything from the Apple distribution certificate to the distribution provisioning profile. I installed all provisioning profiles to Xcode (including the development profile as suggested by rob1221.
This took me a step further in the process. I get prompted to allow access to the certificate and after i grant access, it moves from "compiling" to "sending to device".  Then I get an error but the log viewer doesn't specify anything about it. I tried this multiple times to no avail. Now I'm stuck again.
I should also mention that i'm on the Starter version of Stencil 3.1. It was my understanding that I can test on an iOS device before upgrading to the 'Studio' version that supports mobile publishing.
Any thoughts? Would really appreciate the assistance.
Thanks.

dgcharlston

  • Posts: 60
I just wanted to bump this, I followed all the certificate process but because there is so much concentration on distribution i didn't even think about ensuring i had the development certificate.

 Q: You see "Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found."

 I don't know how many people have this issue but i was looking over the certificate page and its in the troubleshooting area at the very bottom but not in the IOS troubleshooting page itself when the error comes up and brings you to that page. Maybe we can have this added onto the page as well before the question above?