Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Code-signing a Mac App

Posted on 2013-12-09
3
Medium Priority
?
1,360 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
2 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This article outlines the struggles that Macs encounter in Windows-dominated workplace environments – and what Mac users can do to improve their network connectivity and remain productive.
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 …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

783 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