Search results for

codesign

3,114 results found

Post

Replies

Boosts

Views

Activity

CodeSign failed: code object is not signed at all
I added Catalyst support to my existing iOS project. Now after conversion while the app builds and executes on the Mac it seems that I am getting a code signing error when building for both iPhone and iPad simulators. The error that comes back is that CodeSign Failed and it is referencing one of the storyboard files that has been copied over to the derived data subfolder. See the message below (note some of the names have been changed to protect privacy and simplify messages 🙂)Library/Developer/Xcode/DerivedData/junglegame-aplyfelyirngdudvtmrbdsyakvir/Build/Products/Debug-iphonesimulator/xxx.app: code object is not signed at allIn subcomponent: Developer/Xcode/DerivedData/junglegame-aplyfelyirngdudvtmrbdsyakvir/Build/Products/Debug-iphonesimulator/xxx.app/ChoiceList.storyboardcCommand CodeSign failed with a nonzero exit codeI've been trying various things and seardhing the Net for the past two days to no avail. Any help is greatly appreciated.Regards,Rob
2
0
4k
Oct ’19
Codesigning a MacOS app breaks the app.
Context : I'm developing a python app with Tkinter GUI on a 2020 M1 Macbook Air. I have already built, signed, and notarized the app successfully on the native arm64 architecture - so far so good. Now I am trying to do the same for x86_64, on the same machine. I've built a conda environment for x86_64, built the app with pyinstaller, and verified that it runs when I double-click on AppName.app. So far so good. The problem happens when I sign it. After signing with the same command I used for the arm64 version: codesign -s Developer ID Application: MY_CERTIFICATE_NAME -v --deep --timestamp --entitlements entitlements.plist -o runtime dist/MyAppName.app --force Entitlements file just sets com.apple.security.cs.allow-unsigned-executable-memory to true - apparently necessary for python programs. The app now crashes when I double-click. The crash-log contains the line: Termination Reason: Namespace ROSETTA, Code 0 rosetta error: unable to mmap __TEXT: 1 /var/db/*/libffi.8.dylib.aot When I try to run from
7
0
4.1k
Feb ’23
Command CodeSign failed with a nonzero exit code - OpenGL
Hey, So i am trying to setup OpenGL on my mac. Specs : M2 Pro, 15.5 (24F74) Now i have setup the entire project properly as far as i know. GLFW, GLAD and the OpenGL framework. the build libraries are also reference and everything. I have also included the glad.c file in the folder. i have also kept it to run locally in signing tab. its still giving me Command CodeSign failed with a nonzero exit code All the ss are provided
Topic: Code Signing SubTopic: General
1
0
451
Jul ’25
Codesign "Keychain Always Allow" dialogs hangs
Dear developers,We have changed our company name and have stored a new distribution cerificate from member center in keychain.As alway we get a popup Codesign wants to sign... and three options buttons: Always Allow, Deny and Allow when we build with a new cert.Before we just pressed Always Allow 3-4 times. It seems to be 3-4 stacked dialogs. 7.1 and 7.1.1 The dialog does not exit if Always Allow or Allow is presset. Only Deny works.Any help on this isue is more than welcome. It is an major show stopper.Thanks in advancedStephan
4
0
1.8k
Nov ’15
How do you codesign an OS X application for distribution outside the app store?
I've been looking into distributing an OS X application outside the store.However, whenever I run the installer on another mac, I get gatekeeper describing the application as unsafe.What can I do I need to do to codesign the applcation for distribution outside the app store? and do I need a third party certificate? Thank you
0
0
246
Nov ’15
Command /usr/bin/codesign failed with exit code 4
I'm trying to buils a mobileTemplate from Unity.I'm on Mac 10.13Xcode 9errorCommand /usr/bin/codesign failed with exit code 4{||||||||||||||||||CodeSign /Users/bobsmo2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-eiysjyalfuopucejkfvsmyjnjklb/Build/Products/ReleaseForRunning-iphoneos/testUnity.app cd /Users/bobsmo2015/Documents/bobDesk2015/UnityTest/MobilePlaceholder/testUnity export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin Signing Identity: iPhone Developer: Robert Smolenski (9QB27V7K3L)Provisioning Profile: iOS Team Provisioning Profile: * (bf7287bf-006a-4841-8df1-7c1777bdf640) /usr/bin/codesign --force --sign 339CEC8634D3E394B87F84253815999C4C18F875 --entitlements /Users/bobsmo2015/Library/Developer/
10
0
3.9k
Oct ’17
SOLVED: Issue with spctl / gatekeeper after successfully codesigning application
Hello,I am facing a rather strange issue with the codesigning of my application. Even though the codesigning and its verification are successful the app failsthe spctl -a -t exec -vv command, having the result simply <app> rejected. This of course also makes the gatekeeper check fail and the app can not be opened automatically. If the search I have done so far is correct, the issue seems to have to do with the apple codesigning authority of the certificate I use (which is generated as per the instructions in the certificates section of my apple developer account) to sign the application. I am pasting the output of the codesign --display --verbose=4 below, where the authority is stated as Authority=Apple Worldwide Developer Relations Certification Authority and not Authority=Developer ID Certification Authority . Is that the error, or not, and if so, how can it be addressed?Executable=<path to executable>Identifier=<identifier>Format=app bundle with Mach-O
1
0
3.4k
Apr ’18
How to codesign CLI tool so that I can read CNContact.note field?
I want to build a CLI tool (using SwiftPM - without XCode) to read the contacts on my mac. The end goal is to use the notes field or maybe custom fields to build a simple CRM (customer relationship tool) to keep track of some things. It especially means reading the NOTE field, and also writing it back. But... as mentioned on com.apple.developer.contacts.notes | Apple Developer Documentation reading the note field requires the com.apple.developer.contacts.notes. How do I do that? If it runs locally only on my machine I am happy. I wrote an entitlements.plist: com.apple.developer.contacts.notes And do # build swift build --configuration release --disable-sandbox --arch arm64 Building for production... [2/2] Linking contacts Build complete! (0.29s) #sign codesign --sign - --entitlements entitlements.plist --deep .build/release/contacts --force .build/release/contacts: replacing existing signature But upon running, I get: ./.build/release/contacts fish: Job 1, './.build/release/contacts' terminate
2
0
923
Jan ’24
How to test and debug gatekeeper spctl check? codesign passed
I need step by step instructions to debug why spctl command rejects -- I am on 10.15.7. Appreciate if anyone can shed some light on this with pointer/documentation? Forcing me to do something on Xcode is not what I am looking for, please. I am sure with Catalina -- new rules have formed around Gatekeeper spctl command to assess the security posture of the apps installed or developed. Now coming to our app, it gets rejected by spctl -- unknown, but codesign passes the app. Need a systematic troubleshooting guide or instruction set. Thanks in advance, sh-3.2 spctl -a -t exec --ignore-cache -vv /Applications/MyApp.app ==== /Applications/MyApp.app: rejected origin=3rd Party Mac Developer Application: MyOrg (MYORGDEVID) ===== sh-3.2 codesign -dvv --strict /Applications/MyApp.app ===== Executable=/Applications/MyApp.app/Contents/MacOS/MyApp Identifier=com.MyApp.SubID Format=app bundle with Mach-O thin (x86_64) CodeDirectory v=20500 size=1285 flags=0x10000(runtime) hashes=31+5 location=embedded Sig
8
0
2k
Nov ’20
Does codesign deep sign Contents/Library/QuickLook?
I have created an App and in it I have put my qlgenerator in the Contents/Library/QuickLook folder. This works (ed) such that after installation ... my generator is registered and my file types show up with nice thumbnails. However, with Catalina, I am now having problems with the notarization and it appears that the codesign --deep does not actually sign this folder.: { severity: error, code: null, path: ....dmg/My.app/Contents/Library/QuickLook/MyQLGenerator.qlgenerator/Contents/MacOS/MyQLGenerator, message: The binary is not signed., docUrl: null, architecture: x86_64 },I looked through some of the docs and it seems to indicate that the nested signing doesn't cover this folder. Am I interpretting things correctly? Do I have to explicitly sign this item before I sign my dmg/pkg? Why can't I find much documentation on including a quicklook generator in the App bundle. I wrote this code a long time ago and must have found it somewhere but there are not good pointers for it.ThanksLee
1
0
4.3k
Feb ’20
Target release_unpack_ios failed: Exception: Failed to codesign
I'm trying to compile my project to upload to the Apple Store, but I'm encountering the following error and I'm not finding a solution. Target release_unpack_ios failed: Exception: Failed to codesign /Users/projetos03/Library/Developer/Xcode/DerivedData/Runner-fawumbalfprcejfqeukpogdffliw/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Flutter.framework/Flutter with identity 8AEA2F49955A0 9A7CD98E041ABA46E18BAE7745E . /Users/projetos03/Library/Developer/Xcode/DerivedData/Runner-fawumbalfprcejfqeukpogdffliw/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Flutter.framework/Flutter: replacing existing signature Warning: unable to build chain to self-signed root for signer Apple Development: Flavio Alves (36WNMDQCH4)
2
0
4.1k
May ’24