Re: Code signing issues

2011-10-19 Thread Gideon King
I had not, but now I have - it made no difference - I still got the same cryptic error message. Regards Gideon On 18/10/2011, at 11:29 AM, Graham Cox wrote: On 18/10/2011, at 12:27 PM, Gideon King wrote: • The system interprets the exit status and attempts to obtain a valid receipt.

Code signing issues

2011-10-17 Thread Gideon King
Hi, I'm trying to build App store receipt verification into my app. I went through the certificate setup process and believe I have all three keys and certificates successfully installed in my keychain. I then went into my build settings for my project to set the code signing identity. I

Re: Code signing issues

2011-10-17 Thread Graham Cox
Hi Gideon, which version of Xcode are you using? I'm not crystal clear on the signing procedure myself, but I followed the instructions and it went smoothly, so I can at least tell you what I see for comparative purposes. I'm using Xcode 4.2 (4.1 was similar, 3.x may be different). On

Re: Code signing issues

2011-10-17 Thread Gideon King
Thanks for the reply Graham. I'm using Xcode 4.2. Please see comments inline On 18/10/2011, at 9:55 AM, Graham Cox wrote: On 18/10/2011, at 10:34 AM, Gideon King wrote: So I have the following questions: 1. When creating the certificates, 3 certs are created and added to the keychain

Re: Code signing issues

2011-10-17 Thread Graham Cox
On 18/10/2011, at 11:19 AM, Gideon King wrote: OK, not sure why have three certs if only one ever shows up, but if always using the '3rd Party Mac Developer Application' for all your builds works for you, I'll try the same. You sign the app itself (the executable) with the 'Application'

Re: Code signing issues

2011-10-17 Thread Gideon King
For Mac development, it appears you need a Mac Developer cert, a 3rd Party Mac Developer Installer cert, and a 3rd Party Mac Developer Application cert. I have these in my keychain, however only 3rd Party Mac Developer Application shows up in Xcode. I can understand that the installer one

Re: Code signing issues

2011-10-17 Thread Graham Cox
On 18/10/2011, at 11:59 AM, Gideon King wrote: I thought the Mac Developer one was supposed to show up for use when doing development builds. It doesn't for me, and I have never used or apparently needed it. Perhaps it's used implicitly however. --Graham

Re: Code signing issues

2011-10-17 Thread Graham Cox
On 18/10/2011, at 12:07 PM, Gideon King wrote: It can't be that the verification code is using the wrong cert, because the receipt checking exits immediately it doesn't find a receipt in the app wrapper, and the system takes over from there to try to get a testing receipt from the app

Re: Code signing issues

2011-10-17 Thread Graham Cox
On 18/10/2011, at 12:27 PM, Gideon King wrote: • The system interprets the exit status and attempts to obtain a valid receipt. Assuming your application signing certificate is valid, the system installs a valid receipt for the application. The system may prompt you for your iTunes