Solved

Code-signing a Mac App

Posted on 2013-12-09
3
1,271 Views
Last Modified: 2013-12-09
Hello Respected Experts,

I recently wrote a Mac application that tested and works great, but I’m spending an inordinate amount of time attempting to upload the darn thing to the App Store.
My problem seems to be that I am unable to code-sign the application.

The command I’m using is:

/usr/bin/codesign –s “Mac Developer: Ernest Zore (XXXXXXXXXX)” –f “/Users/ezore/RADPAServer/scratch-dir/Ernie-MyMac/w1041_13.app”

The error I receive is:
/Users/ezore/RADPAServer/scratch-dir/Ernie-MyMac/w1041_13.app: code object is not signed at all
In subcomponent: /Users/ezore/RADPAServer/scratch-dir/Ernie-MyMac/w1041_13.app/Contents/Entitlements.plist

I’ve read as much as I could find about this issue. I am a member of the Mac Developers program and I believe I’ve got the proper certificates installed, i.e. Mac Developer, 3rd Party Mac Developer Application, and 3rd Party Mac Developer Installer. I’ve also got what I think are correct info.plist and entitlements.plist files incorporated in the app folder.

The entitlements file which seems to be the problem is below in its entirety:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
      <key>com.apple.security.network.client</key>
      <true/>
      <key>com.apple.security.files.user-selected.read-write</key>
      <true/>
</dict>
</plist>

I’ve tried a hundred (no exaggeration) varied ways to get this app code-signed to the point where I’m stumped as to what to try next. I’m genuinely grateful for any help you can give me.

If it makes a difference, perhaps I should mention that I am using Mac Mavericks.

efz
0
Comment
Question by:efz
  • 2
3 Comments
 

Author Comment

by:efz
ID: 39706320
I didn't notice that. Thanks much.
0
 

Accepted Solution

by:
efz earned 0 total points
ID: 39706719
I guess posting this question was good luck. After hours of research, I stumbled on this resolution. Use codesign's --deep option. Here's where I found the answer:

stackoverflow.com/questions/17263967/codesign-of-dropbox-api-fails-in-xcode-4-6-3-code-object-is-not-signed-at-all
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Connectivity using SMB Symptoms When connecting to Windows Server shares from a Mac you receive an error similar to "Connection failed because the original item could not be found"Authentication persistently fails to a Windows Server from a Mac wi…
If you other experts are anything like me you are always looking into and testing out new features. While I was doing some research one day I ran across an app that I installed on my Mac and used as a security system. Mac OS X: SecureHome uses your …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question