Re: XCode: Still Not Able To Code Sign
Re: XCode: Still Not Able To Code Sign
- Subject: Re: XCode: Still Not Able To Code Sign
- From: Phillip Hutchings <email@hidden>
- Date: Tue, 4 Jan 2011 11:36:50 +1300
On 3/01/2011, at 3:24 PM, Alex Jurgensen wrote:
> Hi,
>
> I am trying to submit my application to the Mac App Store.
>
> I am having a little trouble with XCode though.
>
> I don't see my code signing certificate as an option in the code signing section of the "Build" tab of my projects inspector window.
>
> I have used the reverse domain name org.myorganization.application as my "CFBndleIdentifier" in my project's "Info.plist" file.
>
> I created an "Application ID" with the same reverse domain identifier using Apple's tools for this task.
>
> Then I created an app certificate by uploading a certificate signing request, using Apple's tools for this task, downloading the certificates and installing them.
>
> I don't see how the reverse style domain is tied to the developer certificate.
>
> I still can't get XCode to code sign the application.
>
> any help with this is greatly appreciated.
Posting the same question three times to the same list in 2 days isn't likely to elicit new responses, especially over the new year period. You'll probably get more responses in the coming days as people come back online and read the list.
Anyway, few things to check - caveat: I haven't done Mac App Store development, only iOS App Store, but I assume Xcode works the same:
Open Keychain Access (Applications -> Utilities), look in My Certificates (under Category on the left) and make sure your certificate is there, on iOS it's named "iPhone Distribution - Developer Name", so something similar to that I assume. Open the disclosure arrow on your certificate and check your private key is there. Also check that the certificate is valid.
If there's no disclosure arrow next to your certificate you don't have the private key. The private key is stored on the computer that generated the certificate request and never exported unless you do so explicitly, if this is the case go to the computer you requested the certificate with and export the key from Keychain Access.
If you have the private key but the certificate isn't valid then check you have all intermediate and root certificates - Apple's website will tell you what you need.
If both of those are correct then restart Xcode, as it doesn't seem to pick up new certs while running, and check again.
Finally restart Xcode and create an entirely new application and see if you can set up code signing.
Extra notes:
Certificates aren't tied to application identifiers. Using Xcode you can sign any app with your cert, but on iOS we have provisioning profiles that are signed with the certificate and contain the identifier. That profile is distributed with the application and if the identifiers don't match it'll fail.
I haven't seen the Mac App Store, but check there's no provisioning profile or similar to download.
--
Phillip Hutchings
email@hidden
--
Phillip Hutchings
email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden