Questions tagged [codesign]

In iPhone development codesign deals with Provisioning Profiles, App Developer Certificate and device UDID.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Signing Apple certificates to .NET MAUI application in macOS

I've created .NET MAUI application in macOS, I've tried to sign it's bundle with Apple provided for me certificates with all steps mentioned in their site like this: codesign --deep --force --sign &...
Archie's user avatar
  • 5
0 votes
0 answers
22 views

Understanding codesign on MacOS

As the security department in my company, we need to design code signing guidance for developers. It seems that the codesigning on MacOS is somewhat different than other platforms. Some MacOS ...
fhcat's user avatar
  • 1,043
0 votes
0 answers
71 views

Flutter error: Target release_unpack_ios failed: Exception: Failed to codesign

I upgraded my Macbook OS with Sonoma OS, and tried building my flutter app for ios. I'm getting an error that the app was unable to sign my app with codesign. Error: Target release_unpack_ios failed: ...
mk117's user avatar
  • 763
1 vote
0 answers
22 views

codesign java aplication with jpackage on MacOs using Jenkins node

I am running main Jenkins server in CentOs. Node Jenkins server in a macOs machine running Sonoma 14.2. Main Jenkins controls Jenkins node via ssh with certificate (no pass). I am trying to pack java ...
Arttu's user avatar
  • 361
0 votes
0 answers
27 views

QT/codesign - Unable to sign QtWebEngineProcess with --options runtime

I sign my app like this: codesign --deep --force --verify --verbose --sign "CERTIFICATE" --entitlements ./QtWebEngineProcess.entitlements --options runtime ./MyApp.app Inside /...
Venelin's user avatar
  • 3,009
0 votes
0 answers
20 views

CodeSign certificate at runtime is different than the one with an archived app

On my macOS app, compiled on XCode 15.0 and Sonoma 14.0, I use the SecStaticCodeCreateWithPath and SecCodeCopySigningInformation to get a NSDictionary containing several information about the app. The ...
Leonardo's user avatar
  • 761
0 votes
0 answers
18 views

Error building a newly created project in XCode 14

I created a new Objective C XIB application in XCode 14 on Mac OS Ventura. When I try to build the new project I get the following error message "Command CodeSign failed with nonzero exit code&...
Vladislav Peichev's user avatar
1 vote
1 answer
69 views

Electron-Builder is there an option to pass custom agruments to signtool.exe?

I've an Electron application, for which we create an installer using electron-builder. Under the covers, I believe, electron-builder calls out to the Windows signtool.exe. I've a need to pass in a ...
Shane Gannon's user avatar
  • 6,990
0 votes
0 answers
126 views

MAUI & iPhone Release fails to codesign

I have an MAUI mobile app that is not compiling/codesigning on iOS and I'm looking for some help on identifying what to do. I am using a 3rd party library, VideoLan.LibVLC (https://www.nuget.org/...
Styles's user avatar
  • 515
0 votes
0 answers
41 views

signing an app with PyInstaller only works once

I made a simple Python based app for macOS using this code (empty lines removed): import tkinter as tk window = tk.Tk() label = tk.Label(text="\n I am a macOS app \n") label.pack() ...
gernophil's user avatar
  • 168
0 votes
0 answers
103 views

How to verify the certificate used to sign an application on MacOS?

I want to get the certificate SHA-1 fingerprint (thumbprint) for the codesigning certificate used to sign a particular file on MacOS. For productsign, I can use shenv@BOSRQWJ2PW5VF Downloads % pkgutil ...
fhcat's user avatar
  • 1,043
2 votes
0 answers
44 views

Custom binary for codesign in xcodebuild (handling timestamp service is unavailable)

On one of our projects, we have flaky errors from the codesign binary with timestamp service is unavailable errors. The thing is that these errors are happening way too random and cannot be reproduced ...
tt.Kilew's user avatar
  • 6,014
1 vote
0 answers
77 views

Apple certificates installation issue in mac runners (GitHub Actions)

I am currently setting up the build process of my project on GitHub Actions with a macOS runner (macos-12 / macos-13). As part of the process, I need to install the "Developer ID Application"...
Nikhil's user avatar
  • 11
0 votes
1 answer
57 views

Missing NULL when Create CMS code sigining with openssl

when I try to code signing a file with openssl cms, I expected to get following resualt: 2 30 13: SEQUENCE { 4 06 9: OBJECT IDENTIFIER '2 16 840 1 101 3 4 2 1' 15 05 0: NULL : ...
Nav Boom's user avatar
0 votes
1 answer
125 views

Getting deployment error with Delphi 11.3 and an FMX app for OSX

I must have changed something in my build because it used to be OK. Situation is a Delphi FMX application set to build for OSX. The debug build works fine and once upon a time I was able to Deploy and ...
Dgbaxter's user avatar
2 votes
0 answers
68 views

Exporting entitlements.plist from the app using the codesign utility gives warning

Export entitlements.plist from the app using the codesign utility codesign -d --entitlements :entitlements.plist /path/to/.app/ Using above mentioned command doing signing of iOS application but ...
UShukla's user avatar
  • 41
0 votes
0 answers
80 views

macOS custom Keychain provider development

I would like to develop a macOS keychain integration with the network attached HSM storing the private key. However, I am unable to find the documentation describing the way how integration with the ...
user1563721's user avatar
  • 1,405
-2 votes
1 answer
47 views

recodesign node.js get permission error when run?

For some reason, I need recodesign node.js. I tried recodesign the node.js with my own mac appId with command codesign --deep --timestamp --options runtime -f -s 'Developer ID Application: xxxxxxxx' ~/...
Rhain's user avatar
  • 197
0 votes
1 answer
213 views

How to use personal apple id for ipa signature

I've seen SideLoady, and AltStore all use regular Apple ids directly to re-sign the ipa. The re-signed ipa can be installed on non-jailbroken iPhone devices. The downside is that it only has a 7-day ...
linpeng's user avatar
0 votes
0 answers
44 views

How to sign to agora RTC Wrapper

I have a MacOS app in Unity and I use the agoraRTC Wrapper, how do I sign it? Do you have AgoraRTC Wrapper version of AgoraTools/prep_codesign.sh and signcode.sh ? I tried to change AgoraTools/...
Takashi's user avatar
0 votes
1 answer
266 views

Codesigning - codesign exited with code 3, only on emulator

For a small .Net MAUI project, when building to an emulator, the build output fails with the following error and stack trace: Target "_CodesignAppBundle" skipped. Previously built ...
eengstroem's user avatar
2 votes
3 answers
11k views

error: Target release_unpack_ios failed: Exception: Failed to codesign

mac pro m1 flutter 3.7.7 Xcode 14.3 error: Target release_unpack_ios failed: Exception: Failed to codesign Previously, when using flutter 2.x, there was no problem at all with the archive. After ...
HyunJun Cho's user avatar
0 votes
1 answer
344 views

MacOS codesignature invalid after adding entitlements

I'm signing a small command line TCP listener for Mac M1 which usually signs and notarizes correctly using the following command: codesign --sign $IDENTITY --options runtime --timestamp server/...
ss900ie's user avatar
  • 81
-1 votes
1 answer
185 views

codesign timestamp is not working inside a MacOS VM

I'm trying to use codesign inside a MacOS VM: codesign --sign "Developer ID Application: XXX (XXX)" myapp.dmg I get the following error: The timestamp service is not available. The same ...
gregoiregentil's user avatar
1 vote
2 answers
353 views

How to codesign with an Extended Validation Code Signing Certificate on Mac

I am trying to codesign with hardware token on Mac. According to this https://sectigo.com/knowledge-base/detail/Signing-with-an-Extended-Validation-Code-Signing-Certificate/kA03l000000c4TX Plug your ...
Shoji Urashita's user avatar
0 votes
0 answers
43 views

How to always allow codesign to acces key "access" in my keychain

While uploading my app to the applestore with fastline, the CI crash, if I do not Always Allow to the following popup. If I do not do so, I got the following error ERROR: Job failed: execution took ...
Raphaël Balet's user avatar
0 votes
1 answer
243 views

iOS app signature verification fails on new release

I had to move my iOS app development project (based on Flutter) to a new computer. Since then any new release of the app that I upload to TestFlight fails to install saying This app cannot not be ...
Szabolcs Szekelyi's user avatar
0 votes
0 answers
1k views

openssl pkcs12 -export : unable to load private key

I'm trying to convert a .cer certificate (from Sectigo) to a .pfx, to use with an Electron App. i'm using this command line : openssl pkcs12 -export -inkey votre_clef_privee.key -in resultat.pem -name ...
Grégoire's user avatar
8 votes
0 answers
577 views

Run tests with xcodebuild without signing

What I'm trying to do I'm trying to run several tests written in the XCTest framework without code signing, for the purpose of not having to deal with the hassle of importing code signing identities ...
CryptoAlgorithm's user avatar
0 votes
0 answers
126 views

Does macos codesign only sign executable which extension is .app

OS: $ sw_vers ProductName: Mac OS X ProductVersion: 10.11.6 BuildVersion: 15G31 i want to sign a binary file named pipip, but get an error, from the error hint, we know that filename pipip is ...
Zhong PengQun's user avatar
-1 votes
1 answer
441 views

Developer ID Application Certificate missing a child key in Keychain Access

I am trying to recreate a Developer ID Application certificate, so I can sign my application. I had an existing certificate, but it's about to expire, so I am trying to regenerate a new one. However, ...
Dan Gravell's user avatar
  • 7,947
5 votes
2 answers
4k views

How can I adhoc-sign a library?

Trying to run an executable linking to a dynamic library, I get the following error: Library not loaded: [...] Reason: tried: <lib> not valid for use in process: mapped file has no ...
JonasVautherin's user avatar
6 votes
2 answers
4k views

Mapped file has no Team ID and is not a platform binary

Note: this question looks similar, but is different. The error here is about a file having no Team ID, whereas the linked answer is about adhoc-signing a file that is not signed at all. The answer ...
JonasVautherin's user avatar
0 votes
2 answers
806 views

Xcode 14: how to quickly update signing for multuple internal cocoapods frameworks?

So I've switched to Xcode 14, and it gave me a lot of compile errors, most of them were related to signing the internal frameworks (the app is well-modularized). While I've been doing that manually (...
olha's user avatar
  • 2,142
2 votes
0 answers
347 views

How to codesign and notarize Electron (electron-builder) app on behalf my client?

I'm trying to figure out what I need from my client to codesign and notarize an Electron app on MacOS on behalf of my client. As far as electron-builder goes I already have that configured to codesign ...
Jeandré's user avatar
  • 156
2 votes
1 answer
357 views

Singing ClickOnce Application with EV Code Siging

I have an EV code signing certificate from ssl.com and I'm trying to sign a ClickOnce application to get rid of the warning messages when the users install the application, however, I wasn't able to ...
Ahmad KFUPM's user avatar
0 votes
2 answers
679 views

Codesign fails only in GitHubActions, Succeed in MacOS terminal & Jenkins

I'm trying to setup a GitHub actions workflow to perform build on MacOS(10.15.7) system using self-hosted runner. My action workflow for build including code sign-in as follows runs-on: [self-macos] ...
user4948798's user avatar
  • 1,966
1 vote
0 answers
280 views

Xcode 13.4.1 generates an unsupported code signature version

I'm getting this error: The code signature version is no longer supported when trying to run an app. This has to do with an embedded framework which has an old code signature version. codesign -dv ...
Taylor's user avatar
  • 5,983
1 vote
1 answer
4k views

what should I do to fixed the code sign exit code 65

Today when I using fastlane v2.206.2 command bundle exec fastlane beta to build the ios app in github actions, shows error like this: The following build commands failed: CodeSign /Users/runner/...
Dolphin's user avatar
  • 31.2k
1 vote
2 answers
764 views

notarization rejects my app with: The signature of the binary is invalid

I'm trying to codesign/notarize an existing app on macOS 10.15 / XCode 12.4. This is my workflow: as my app is Qt-based, I'm using this Recipe OSX Code-Signing Qt to fix the app-bundle; sign with ...
fferri's user avatar
  • 18.5k
2 votes
0 answers
596 views

Unable to code sign the apache modules in mac

I get the below error while starting Apache root# sudo apachectl configtest [Tue Jun 28 13:31:53.686521 2022] [so:error] [pid 8913] AH06665: No code signing authority for module at /private/libexec/...
Mario R's user avatar
  • 151
1 vote
1 answer
336 views

Why does codesigned Go binary get tagged as “Unknown Developer” on macOS 13?

The current macOS 13 beta has a feature in which it displays all application-installed Login Items in a System Preferences panel, including LaunchDaemons. My app has a LaunchDaemon written in Go ...
fsctl's user avatar
  • 171
1 vote
1 answer
1k views

iOS Embedded Framework with Embedded Framework

I'm working on a framework which embeds another framework (from CocoaPods) for error logging on iOS. This is working very well, and I can embed such a framework in an iOS application for testing, ...
beeselmane's user avatar
  • 1,140
1 vote
2 answers
81 views

How do I modify my Java appbundler build to sign 3rd party library

I have added a new dependency to my Java application that includes two dynamic libs (intel/arm64 versions) and now my application is failing notarisation because songkong-osx.dmg/SongKong.app/...
Paul Taylor's user avatar
  • 13.3k
3 votes
1 answer
712 views

Successfully codesigned and notarized app getting unable to verify developer when running

I have a fully codesigned .app which is successfully notarized. However when running the app on someones computer. They get the error "App" cannot be opened because the developer cannot be ...
Derek's user avatar
  • 196
5 votes
1 answer
1k views

Signing a MacOS Framework using CMake

I'm developing a C/C++ library that will be distributed as a Framework for apple architectures, but I'm having trouble getting CMake to sign my binaries for notarization/distribution. What are the ...
pcbennion's user avatar
0 votes
1 answer
281 views

Osslsigncode overwriting a file while code signing

I am performing a code signing using osslsigncode. I wanted to know if there was a way to overwrite the file being signed using the same name instead of creating a new one? I tried using the same name ...
TheProgrammer's user avatar
0 votes
3 answers
263 views

Code Sign EXE - Does it include the detailed address of my company in the signature?

As I can see, in Windows, the Digital Signature tab of an EXE file will show the Company Name, City Name, and Country Name of the company. Is the user able to find the detailed address of the company ...
RRN's user avatar
  • 1,147
1 vote
1 answer
483 views

Import signable Certificate on MacOS

I have been trying to import a certificate on MacOS (Monterey). I managed to convert my key.pem and cert.pem to a .pfx and added it on a Windows machine, and signed a binary using windows's signtool ...
Tomas Berger's user avatar
0 votes
1 answer
385 views

Unable to retrieve the certificate with codesign after signing the pkg with productsign

I am struggling for the past 2 weeks with publishing the .pkg. If I execute codesign -dvv app-version.pkg I get app-version.pkg: code object is not signed at all Then I want to sign it with ...
Wojtek322's user avatar
  • 614

1
2 3 4 5
12