Solved

Code-signing a Mac App

Posted on 2013-12-09
3
1,296 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
We could spend the next millennium discussing the differences of the Mac and Windows platforms. The next century will continue to have fanatics on both side of the equation and neither side will win the war. However, that’s not why we are here. W…
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 …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

635 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