The tag has no usage guidance.

learn more… | top users | synonyms

25
votes
4answers
7k views

Can Mac App Store installs & upgrades be automated?

How can I script installing or upgrading apps from the Mac App Store? I'd prefer command line tools, but AppleScript or some other API would suffice. Relevant puzzle pieces: installer: note ...
24
votes
1answer
11k views

How can I determine if a certain .app file is signed

Get Info on an .app does not produce the signature information. On Windows for example, right-click > properties will expose who signed the file. How do I obtain that info for a given .app on OS X?
19
votes
2answers
629 views

Forcing `open` command to open unsigned app?

I've got my Security preferences set to allow apps downloaded from "Mac App Store and identified developers." When I try to open an unsigned app: open xyz.app I see the following: Usually, I ...
14
votes
5answers
7k views

How can I opt out of updates for one app when using the App Store?

I have an app that has been radically changed (Skitch) and I'd prefer to not see any of the updates that the developer has made available to that app on the App Store. I'm lazy and like to use the "...
12
votes
1answer
4k views

When applications are code-signed, what parts of the .app bundle does the signature cover?

In Mountain Lion, I know that some applications, including all applications on the Mac App Store are digitally signed by the developer, so that if they are modified, the signature will not match, and ...
11
votes
1answer
59k views

How can I disable kext signing in Mac OS X 10.10 Yosemite?

I know the disadvantages of disabling kext signing, but I was wondering how I can actually disable this on Mac OS X 10.10 "Yosemite"?
7
votes
1answer
2k views

Is my private key available in the Time Machine backups? Where can I find it?

I've used Time Machine on my Mac to perform backups of my Lion install. My SSD failed and I installed Mountain Lion on my machine. Now, I want to recover my private key from my backup so I can ...
7
votes
2answers
7k views

Can you disable a code signature check?

I wrote a patch/utility that disables OS X's default functionality of starting iTunes when the play button is pressed. This utility basically modifies the Remote Control Daemon (rcd) and comments out ...
6
votes
1answer
300 views

How can I modify a package from the Mac App Store?

I used to hack at apps on my Mac all the time (change the icons/sounds etc... in the resources folder of the package). I have tried with apps downloaded from the App Store, but it no longer seems to ...
5
votes
4answers
1k views

Codesign dialog does not allow “accept”

Whenever I run codesign from the command line (or a pre-existing script tries to run it) – e.g. by running codesign -s "Local Developer" foo the following dialog appears. Clicking 'Deny' cancels it ...
4
votes
1answer
358 views

Mac App Store apps damaged? [duplicate]

Overnight, TextWrangler crashed with a message "TextWrangler" is damaged and can't be opened. I deleted "TextWrangler" and download it again from the App Store. I couldn't update from the Mac App ...
4
votes
1answer
275 views

OS X codesigning certificate expriry

We use Apple code signing certificates to sign apps so that users can know we made the app. What happens to the users when our certificate expires? Does it mean that app will now appear untrusted or ...
4
votes
2answers
487 views

How can I tell which Apple ID has signed/purchased specific apps on iOS?

I have an iPhone I'm trying to restore and the restore keeps failing. Specifically, I'm asked to enter the password for family members. I must decline that for secret reasons. Also, family sharing ...
3
votes
1answer
282 views

Different enterprise signed apps on same iOS device

Company A has an Apple Enterprise Developer account and distributes "in-house" iOS applications signed with its account key. Likewise, Company B does the same with its own in-house apps. Is it ...
3
votes
1answer
1k views

Can I re-purchase an app with a different apple ID?

I have a development machine that another employee (who has left) purchased Xcode on. Now I want to update Xcode, but I don't have that employee's apple ID information. I signed out of the App Store ...
3
votes
1answer
151 views

Is there a truly user friendly guide on how to handle iOS Certificates and Provisioning Profiles? – Xcode 7.3 / iOS 9.3

I'm getting a warning that The provisioning profile "iOSTeam Provisioning Profile: *" is expiring soon. I'm not sure what to do and the Apple documentation, even the Quick Start Guide, is overwhelming ...
2
votes
1answer
1k views

Running a command via SSH on the Mac causes exception; works fine when directly connected

I am trying to sign some code for an application. I can log into my Mac (Mountain Lion) and do this easily: codesign -s "Developer ID Application: My Name" -f /path/to/appfile/mounted/elsewhere.app ...
2
votes
3answers
14k views

Anyone with experience in hacking the codesigning on OS X?

Apparently Mavericks doesn't allow any property list/configuration file to be used when it's been changed since release from Apple.(This opposed to previous versions of OS X, where you could do some ...
2
votes
1answer
672 views

How to compile an app on Xcode without developer account

as you know from Xcode 7 and onwards it's possible to compile an app for your device. Yesterday I tried to compile Kodi on Xcode 7. It says it's possible to compile with Xcode 7 without any ...
2
votes
1answer
108 views

Signing an App that includes Java fails

I try to sign an app-bundle that includes the Java Runtime Environment 8 (JRE). From command line I run this command: codesign -s "Developer ID Application: My Company" /Development/MyApp.app I ...
2
votes
1answer
76 views

Apple says I'm signing an app with old OS version, and I'm not

I'm trying to submit a Java-based app to AppStore. After having the worst headaches in my life trying to sign everything my last problem (I hope!) is this: Invalid code signature - Signatures ...
2
votes
1answer
193 views

Safari seems to be modified

I just ran this command and saw that Safari was modified. $ codesign --verify -vv /Applications/Safari.app/ --validated:/Applications/Safari.app/Contents/MacOS/SafariForWebKitDevelopment /...
2
votes
1answer
825 views

codesign reports invalid Info.plist on an app dl'ed from the internet. Has the app been possibly compromised?

I downloaded an app from github (mac2imgur), and it refused to run. $ codesign -vv mac2imgur.app mac2imgur.app: invalid Info.plist (plist or signature have been modified) In architecture: x86_64 It ...
2
votes
1answer
1k views

Ran codesign -fs - /Applications/Utilities/Boot\ Camp\ Assistant.app how do I reverse it?

I ran codesign -fs - /Applications/Utilities/Boot\ Camp\ Assistant.app as per a post here and now I cannot launch Bootcamp Assistant at all. Is there a terminal command I can run to reverse this?
2
votes
3answers
494 views

Signing a Mac App

I'm working on getting a Mac app signed. It won't be available in the app store. I've executed the codesign executable properly, I believe, but I still get the Gatekeeper warning. Simple question: ...
2
votes
1answer
54 views

Different owners of apps in /Applications depending on installation technique

I have noticed that pre-installed as well as apps installed from the App Store located in /Applications show permissions like this: drwxr-xr-x+ 3 root wheel 102 Jan 1 2014 Mail.app whereas ...
2
votes
0answers
305 views

Options for signing kernel extensions for loading under Yosemite without apple-issued certificate?

Has anyone tried to use codesign to self-sign a previously-unsigned kext for personal use under Yosemite (10.10)? Self-signing is discussed in this apple technote, but not for kernel extensions ...
2
votes
0answers
123 views

Do I need to renew my Mac Developer Program enrolment to continue signing OSX apps?

A company I know has an Apple developer account and was enrolled on the Mac Developer Program in order to be able to sign apps (not for the Mac App Store, but for Gatekeeper validation purposes). ...
2
votes
0answers
399 views

codesign says 'no identity found'

I have a utility that patches the Apple remote control service so it doesn't start iTunes when pressing play. With OS X 10.8 rcd was signed by Apple. I found out that I could ad hoc sign the ...
1
vote
2answers
4k views

App hangs when run: cs_invalid_page error in logfile

I'm trying to start Sony Sound Forge Pro. It's worked before, but then I tried to update to version 2 of the app, and I started getting this error when I start it. I downgraded back to version 1 and I ...
1
vote
1answer
1k views

/usr/bin/codesign from Mac 10.9

The /usr/bin/codesign file on our server was removed. It is running version OS version 10.9. Does anyone know where I can download the codesign file for OSX 10.9? Or can anyone pull it off their ...
1
vote
1answer
628 views

How to set a custom icon inside a signed Apple Script application?

I'm using Apple Script to distribute a signed applet, and would like to use a custom icon. However, as soon as I export it from Script Editor, the bundle loses the custom applet.icns file I put in it. ...
1
vote
2answers
39 views

Mac/PC: How to change the developer of an Apple Disk Image?

I am trying to use a GD-0912-U Intuos Graphics Tablet in OS X El Capitan‎ at a public hackerspace. They will let me install any programs on the iMac, barring that Gatekeeper believes it is from a ...
1
vote
1answer
217 views

Safari 7.0.5 on 10.9.4 fails to check code-signing

I noticed that the Little Snitch's Research Assistant told me that the signature for Safari was invalid so i ran codesign to check and in fact i got this: codesign -vvvv /Applications/Safari.app/ --...
1
vote
1answer
293 views

Code Signing of App with bundled JDK7 on Mavericks 10.9.1

I have a Java 7 application which I turn into a MacOS App following the instructions on http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html. This is no longer working. ...
1
vote
1answer
67 views

macOS Sierra GDB not codesigned

First I should note that I'm usin macOS Sierra (version 10.12 beta 16A238m), but I don't think it's that different than El Capitan in this certain situation (but I guess you know more than I do about ...
1
vote
2answers
95 views

OS X firewall code-signing not working for nginx etc

I am trying to connect to a web server (nginx) on OS X El Capitan - on local wifi from an iOS device. I know from earlier that this is not easy. Tried this without success. Have you come across ...
1
vote
1answer
425 views

Mac App Store Upload Fail: Validation Error (SFML)

I'm working on a SFML App in Xcode 7.2, and I'm trying to upload my project build to the Mac App Store, and I'm getting the following error: An error occurred during validation Couldn't ...
1
vote
1answer
121 views

Will removing developer devices break apps with old UDIDs on Provisioning profiles?

I have come to the beginning of a new year on my developer license with Apple. At this time I am able to remove old devices from the account: Unfortunately there are several applications that are ...
1
vote
0answers
49 views

Using a third-party certificate authority for a non-App Store-distributed application

I am new to the concept of signing apps developed for the Mac. I'm curious about the use of non-Apple-issued certificates. I see software on my Mac HD that uses certificates from VeriSign and ...
1
vote
2answers
136 views

If I sign a JAR with a certificate from Comodo, will I still get warnings?

I have written a piece of software in Java that I would like to sell, however it is currently unsigned. When I first wrote the software it didn't matter too much, but I think OS X has upgraded since ...
1
vote
0answers
504 views

Does disabling Gatekeeper also disable code signing signature check?

If I disable Gatekeeper on ML (I mean I allow apps from anywhere) is code signing disabled too or the Mac App Store will continue checking if apps are unmodified preventing from upgrading them if they ...
0
votes
1answer
265 views

Freetype Code Signing Error (Xcode 7.1) App Upload Issue

I'm wondering if anyone can fix my problem? I'm trying to upload a project to the App Store. I'm using Xcode 7.1. I'm getting the following error related to code-signing freetype. CodeSign /Users/me/...
0
votes
1answer
1k views

Code-signing issue. Getting a Build failed, with no specific error [closed]

I have just signed up for the Apple Developer Program (ADC), and did all that is necessary to make an app run on the device itself. I created an empty project and succeeded in running it on my ...
0
votes
1answer
133 views

Code Signing: Where is the “encrypted hash” of a signed blob?

Reading the developer docu about Code Signing, it says in section Digital Signatures and Signed Code: To create a digital signature, the signing software computes a special type of checksum ...
0
votes
1answer
74 views

Signed Mac Apps - error message

Will the message " is damaged and can't be opened. You should move it to the Trash" occur even if you just rename the application?
0
votes
1answer
15 views

Signed but still can't open

A colleague of mine signed an application we're working on. Trying to open it from finder, I get an error message “‹Name›” can’t be opened because it is from an unidentified developer (or the ...
0
votes
0answers
9 views

How Deep Do I Need To Define Paths for the Cosign Terminal Command?

My company is registered as an Apple Developer. Our firm has created Mac apps outside of Xcode that we want to code sign. They will run on OS X 10.8+. This link shows the tasks needed to code sign ...
0
votes
0answers
57 views

How does ad-hoc codesigning work and where is it described?

I recently downloaded a game from an online store to run on my macbook, and the re-distributors decided to replace one of the icons in the application with their own without resigning the package. ...
0
votes
1answer
103 views

Does My Company Need To Code Sign with Two Digital Certificates? Apple Developer and EV Certificate?

My employer plans to distribute Mac OSX software outside the App Store through their website. Do I need to get an organizational developer ID from Apple ($99 USD/yr) plus purchase an EV code-signing ...