Search code examples
xcodecocoamacoscode-signingmac-app-store

Why can't I code sign this Mac app?


I started some days ago a small Mac app for Mac OS X Lion. I've never uploaded a Mac app before, so this is the very first time.

This is what I've already done:

  • Created App ID
  • Created Certificate
  • Installed Certificate
  • Created a Production Provisioning Profile
  • Changed the App ID to my generated one
  • Created a new Configuration based on "Release"
  • Changed its Code Signing to 3rd Party Mac Developer Application
  • Selected the "Production"-Configuration which I created for the Archive-Scheme
  • Archived the Application

Now I wanted to "Share" the Application. Xcode (4.1 btw) said to me, there were no valid signing identities. Does I need to add an Entitlement.plist like in iOS? Have I forgotten something?


Update:

I just figured out, that I have to sign my app twice. I've still selected "3rd Party Mac Developer Application" but I can't select the Installer cert while submitting my app.


Solution

  • I got it to work. I deleted my App and created it new.

    I didn't create a new Configuration, and I only changed the Code Signing Indentity of the Target to 3rd Party Mac Developer Application. After this, I archived the app and then I was able to select the installer cert.