Solved

Code-signing a Mac App

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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

CocoaPods is the best way to manage library dependencies in iOS and OS X projects. By using cocoa pods there is no need of downloading the code from github and copying to your project. There are plenty of open source libraries now available with C…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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 …

737 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