Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [code-signing]

The tag has no usage guidance.

1
vote
1answer
64 views

Bypassing Gatekeeper in macOS Mojave 10.14.5

At least until macOS Mojave 10.14.4, a user could run any application on a Mac, signed or not, by right clicking it in Finder and manually selecting Open. Does this still work for all applications ...
1
vote
2answers
38 views

How to create an identity who can be used for signing code from custom certificate?

I want to codesign one of my applications by using my own certificate (not created with Keychain Access). First, I create a v3.ext file: keyUsage = digitalSignature Then, I created my certificate ...
0
votes
0answers
87 views

Sideloading: 'Failed to verify code signature of /…'

I am unable to sideload, and am getting this error: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/... This error is similar to the one I ...
0
votes
0answers
27 views

codesign still tries to access other keychains when adding --keychain parameter

we have a automated codesigning setup on our CI/CD infrastructure which is using the codesing command to resign a iOS application with a certificate located in a specific keychain. The codesign script ...
1
vote
0answers
120 views

Xcode developer account stopped building. Error in Provisioning profile

I have an Xcode developer account (a free one where I can create an app and test it on my iPhone). Not distribution one. I went to the "Capabilities" tab and turned on the "Keychain Sharing" and "...
0
votes
1answer
195 views

Is paid Apple Developer Program subscription required to distribute test IPA file?

I am building an Ionic app, and I want to distribute it to a few people in my organization. Ionic Cordova iOS build command runs successfully. Now i need to generate the IPA file to install the app ...
0
votes
0answers
63 views

“Error: 0xFFFEFA0A -67062 code object is not signed at all” when trying to launch docker-machine by LaunchDaemon

I am trying to get Docker installed on macOS High Sierra. I've installed Docker via brew, I can start the docker-machine when logged in as root (sudo -i -u root). But when I use LaunchDaemon the ...
4
votes
1answer
224 views

Deploy iOS app on personal devices

I've been working on a small iOS app, intended as a gift to some family members. To my dismay, I'm finding a lot of barriers to attempting to deploy the app. It largely revolves around signing the app ...
11
votes
3answers
3k views

Should I sign open source code myself?

I use macOS 10.14 and came across a problem when I tried to install an open source plugin for Vim that I found on Github. I downloaded the source code and compiled it myself, which worked well, but ...
5
votes
2answers
397 views

Xcode saying Network Extension capability is not enabled when it is

I have been having a lot of issues for the last two weeks trying to sign and distribute a 3rd party MacOS app. I am unable to sign an app with Xcode properly because Xcode is saying that I do not have ...
3
votes
1answer
305 views

Gatekeeper refuses validly signed application

I am trying to publish a signed application, but when downloading it through internet, gatekeeper complains: Furthermore, the help page says that the app has been tampered with: Which is actually ...
1
vote
1answer
335 views

How to disable codesign check on Logic Pro X plug-ins?

I run Logic Pro X and other software to make music, and some third party plugins make the program crash if they get a: Exception Type: EXC_BAD_ACCESS (Code Signature Invalid) I can solve this ...
5
votes
2answers
4k views

Load untrusted kernel extension in macOS Mojave

The Volta application is installed on my MacBook Pro, running macOS 10.14 Mojave. This app needs a kernel extension to function properly, and said extension does not have the proper code signatures. ...
1
vote
1answer
422 views

Errors running certain apps under macOS 10.14 Mojave Beta 10

Apple Mac Pro (early 2009) 4,1 -> 5,1 Firmware upgraded macOS 10.14 Mojave Beta 10 Tweetbot 3.1 Hello, I upgraded my machine to Mojave Beta 10 yesterday via a somewhat devious route http://...
2
votes
1answer
637 views

3rd Party Mac Developer Application: DEVELOPER NAME: no identity found

I need to sign the code of an app I'm trying to submit to App Store through terminal: codesign -f -s '3rd Party Mac Developer Application: DEVELOPER NAME' --entitlements "APPNAME.entitlements" "/...
3
votes
0answers
182 views

High Sierra installer has “sealed resources” v2 but says “resource envelope is obsolete”

Setting up a new laptop... I downloaded the Install macOS High Sierra.app from the app store on an El Capitan machine. "codesign --verify --deep" on the .app says: /Applications/Install macOS High ...
1
vote
1answer
557 views

Code sign on Ubuntu Server

I have a service, where an app is generated from a jar file, using Jar2App, on the fly. I use an Ubuntu Linux server as host for the service and I need to sign the app, after it is generated. How ...
10
votes
1answer
3k views

What are the restrictions of ad-hoc code signing?

It is possible to sign code or apps "ad-hoc" using codesign. The man page tells us the following about ad-hoc code signing: If identity is the single letter "-" (dash), ad-hoc signing is performed. ...
2
votes
1answer
142 views

Why is my codesigned app still quarantined by macOS?

I have a .app that is quarantined. But I am super confused - how can my .app be properly codesigned and yet still be quarantined by Apple? I have an app called iTest.app that I downloaded from my ...
9
votes
1answer
922 views

App can not be opened because it is from an unidentified developer

Question: Please note before reading this that: "Tell them to go to System preferences > Security & privacy and allow 3rd party applications to run. Is not an acceptable solve for this issue. ...
20
votes
2answers
53k views

“XXX can't be opened. You should move it to trash.” for flash projector applications on mac os sierra

We are experiencing a problem with flash projector .app executables that we build. When the app is downloaded from the internet on OSX sierra the message "XXX can't be opened. You should move it to ...
3
votes
1answer
9k views

“The installation failed. The installer could not install the software because there was no software found to install.”

I'm getting this error on my mid '11 Mac Mini (running OS X El Capitan 10.11.6) when I'm trying to install an audio plug-in by Presonus, the demo of OrangeVocoder 10th Anniversary Edition. The ...
1
vote
1answer
64 views

Mac app shrinks when copied to USB

I have a Mac app that is 443,245,675 bytes. When I copy it to a flash drive, the copied version is only 443,239,527 bytes and the app package becomes invalid (spctl -a fails). This difference (6148 ...
0
votes
1answer
304 views

How do I extract X.509 certificates embedded in executables?

This should be very simple, but I am unable to find a straightforward answer to this question. I have a few Mach-O binaries that have certificates embedded in them. Some of these might not be ...
0
votes
1answer
442 views

Signed binary being warned as signed by unknown developer on OSx

I have a binary file. I released it to the customer, which is signed by a valid developer certificate. When customer is downloading that binary and trying to execute it (customer has a standard user ...
1
vote
1answer
2k views

XCode: code signing entitlement file in command line

I would like to be able to build an IPA file with a given Entilements.plist file using command line. I can do pretty much anything, but I do not find a way to pass a code signing entitlements file ...
0
votes
1answer
344 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 ...
3
votes
2answers
9k views

macOS Sierra GDB not codesigned

First I should note that I'm using 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 ...
20
votes
2answers
1k 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 right-...
1
vote
2answers
76 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 ...
2
votes
1answer
262 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 ...
1
vote
1answer
572 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 ...
1
vote
1answer
928 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 ...
3
votes
1answer
3k 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 ...
1
vote
2answers
470 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 ...
2
votes
1answer
943 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 find ...
0
votes
1answer
623 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/...
3
votes
1answer
518 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 get ...
4
votes
1answer
455 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 ...
5
votes
4answers
3k 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 ...
1
vote
1answer
802 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 ...
7
votes
4answers
13k 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
2answers
577 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 ...
2
votes
2answers
6k views

Identity not found when trying to code-sign an application with a certificate

After properly creating a valid certificate for code signing, when running the command: $ codesign -s CertificateName AppPathName I always get a: CertificateName: no identity found Anyways, When I ...
2
votes
1answer
382 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 ...
4
votes
0answers
892 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
1answer
94 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 ...
15
votes
2answers
83k 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"?
2
votes
1answer
1k 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. ...
3
votes
1answer
595 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 ...