Solved

Code-signing a Mac App

Posted on 2013-12-09
3
1,256 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built ontop of the OSX Server NetBoot system and uses images & workflows as its core assets. Although …
Syslogd is a utility that traps and logs messages sent by running processes. It is configured with the syslog.conf file, which consists of lines containing a pair of fields: "the selector field which specifies the types of messages and priorities to…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now