Search results for

codesign

3,110 results found

Post

Replies

Boosts

Views

Activity

Do I need a membership to codesign and notarise?
I just paid for 99$ a year and it's already 48hrs ago since I've paid. But when I click on my name it still says Pending and on the main landingpage on https://developer.apple.com/account it still says this Purchase your membership. To continue your enrollment, complete your purchase now Your purchase may take up to 48 hours to process. Do I need a membership to codesign and notarising my VST plugins? Cause that'a what I bought it for.
1
0
439
Dec ’24
Codesign exit code 1
When I build my project with XCode 8 et macOS Sierra GM, I got this error :/Users/MAD/Library/Developer/Xcode/DerivedData/LC2017-bobbuoezbkpgnvfvizbptyliqcna/Build/Products/Release/LibéCompta 2017.app: resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1Same project work with XCode 7.3.1 et macOS 11Any idea for the detritus ?
6
0
5.2k
Sep ’16
Codesign an installer... stopped by Gatekeeper
I have built an installer (.pkg) for a signed application using PACKAGES. It works on 10.11 and the latest.This installer had been signed using codesign...When distributed the the .pkg when run causes Gatekeeper to display unknown developer message... we checked and everything is current. Anyone run into this and fixed the problem? please share what you did to solve this. We are stuck. when we try to resign it responds that the installer is already signed.Thanks.
8
0
2.3k
Apr ’17
dlopen on development iPhone codesign issue
Hi, For the purposes of iteration speed in development builds, on an iPhone in development mode, I am attempting to use hot reloaded dylibs. The goal is that the app is rarely fully restarted and small code changes can be applied quickly, drastically reducing iteration speed. For this purpose I have a socket server on my Mac that sends changed dylibs to my app on my iPhone. This works great on Mac, however on iOS i am running into codesigning problems. I am using the following to codesign the dylib: codesign -f -s XXX --timestamp=none testlibrary-ios.dylib I am placing the downloaded dylib in this folder: const char* cachedirectoryPath = [NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES)[0] UTF8String]; dlopen gives me the following error: dlopen(/var/mobile/Containers/Data/Application/67A3D31B-6F72-4939-9E7F-665FC78CDC61/Library/Caches/testlibrary-ios.dylib, 0x000A): tried: '/usr/lib/system/introspection/testlibrary-ios.dylib' (no such file, not in dyld
5
0
569
Jan ’25
Xcode CodeSigning Error
Hello, I am brand new to coding and developing. I have my Xcode compiled and linked to SFML correctly(finally), however there is one more error that just won't go away no matter what avenue I try or forum I read. I could use some advice from someone who is familiar with Xcode and Apple Code Signing problems. The error reads /Users/boundarybreaks/Library/Developer/Xcode/DerivedData/Timber2-fturuqxwvdaodsciwyrsjdepwzkr/Build/Products/Debug/Timber2.app: code object is not signed at all In subcomponent: /Users/boundarybreaks/Library/Developer/Xcode/DerivedData/Timber2-fturuqxwvdaodsciwyrsjdepwzkr/Build/Products/Debug/Timber2.app/Contents/Frameworks/vorbisenc.framework Command CodeSign failed with a nonzero exit code
3
0
4.2k
Jan ’21
Codesigning issue on post-install step
I am experiencing a problem with codesigning on Mac OSX (Catalina and older), that I cannot find any answer for. I do have a *.component file, that I am codesigning and notarizing with my Apple Developer ID, which is working perfect. As a post-install step on the target machine, I need to include some installation info within the component's Info.plist (so I am writing back to that *.plist file), which would then qualify as a manipulation of the component itself - ergo, the component's signing is going to be corrupt at this point (the host software will not load my software any more).So I was trying to follow some advice and do a blind codesigning as additional post-install step on the user's machine with:sudo codesign --force --deep -s - ABC.componentThis was just working perfect for a few users, just when I found out, not everyone can make use of this (especially older Mac OSX). Sometimes this command will just not result in a properly signed component. One of the users t
0
0
3.2k
Dec ’19
errSecInternalComponent when trying to codesign an app through SSH
Hi, I'm trying to ssh into another machine, copy an app into that machine and codesign it using my Dev ID Application certificate, then copy it back to my original machine. I'm getting the errSecInternalComponent error when running codesign. This is the bash script I'm running: ssh ${REMOTE_SERVER} security -v unlock-keychain -p /Users//Library/keychains/login.keychain-db ssh ${REMOTE_SERVER} codesign -vvv --deep --force --verify --verbose --timestamp --options runtime --sign Developer ID Application: /tmp/$BUILD_ID/ui-app/.app ssh ${REMOTE_SERVER} codesign -dv --verbose=4 /tmp/$BUILD_ID/ui-app/.app I've tried to follow all the available info found online, managed to sign it successfully through the machine's UI, set the ACL of the private key to ALLOW ALL, restarted the keychain service, tried with the system keychain, approved all pop ups through the UI. Still with no luck through the SSH session. Any help would be greatly appreciated. Thanks!
2
0
531
Nov ’24
CodeSign The specified item could not be found in the keychain
I am trying to translate a working codesigning mechanism into our CI process. I add the cert using the following. sudo security add-trusted-cert -d -r trustRoot -k ~/Library/Keychains/login.keychain-db developerID_application.cer But, when I check it, it is not recognized for codesigning. $ security find-identity -p codesigning Policy: Code Signing tMatching identities tt 0 identities found tValid identities only tt 0 valid identities found And subsequent codesign fails with error: The specified item could not be found in the keychain. Compared to what I am doing in the working mechanism on my desktop, only missing step seems to be signing to my developer account on xcode. But, not sure if that is the issue, or if so, not sure how you can do that from command line.
3
0
9.8k
Sep ’20
install_name_tool vs. codesign
I have a shell script that turns a framework into a plain dylib and updates some dependent library paths using install_name_tool. It works, but if the framework was signed, I get warnings like: install_name_tool: warning: changes being made to the file will invalidate the code signature in: [redacted].dylib (for architecture x86_64) I thought I could get rid of the warning by adding codesign --remove-signature dylib-path to the script before using install_name_tool, but then I get errors like install_name_tool: fatal error: file not in an order that can be processed (link edit information does not fill the __LINKEDIT segment): [redacted].dylib (for architecture x86_64) Is there a way to fix this?
1
0
1.9k
Mar ’24
Unable to codesign (error: CSSMERR_TP_NOT_TRUSTED)
I am trying to configure Gitlab Runner (macOS 11 no GUI) to be able to build our iOS app. For this I have done following things to codesign my app: Created Keychain Unlocked Keychain Imported Root CA and Apple WWDR Certificate Imported Private Key Imported Distribution Certificate But still when I list codesigning identity, it does not show up in valid list. It shows the identity in mached identity with error CSSMERR_TP_NOT_TRUSTED: ... previous steps before this command are executed security find-identity ~/Library/Keychains/MyKeychain 250 Policy: X.509 Basic 251 Matching identities 252 1) AXXXXXXXXXXXXXXXXXXXXXXXX9 Apple Distribution: Company Name Here ([MASKED]) (CSSMERR_TP_NOT_TRUSTED) 253 1 identities found 254 Valid identities only 255 0 valid identities found I am not being able to codesign my app because of this. How can I solve it? I tried everything from this link also Here are the output when listing private key and certificates: $ security find-key MyKeychain 119keychain
0
0
1.2k
Dec ’21
"codesign verify" is happy but spctl rejected ?
When I use codesign with deep option to sign my app and includeded frameworks, codesign verifies as good.codesign --verbose=4 --deep -s Acme, Inc. ${appFolder} my-usb-ev-tokencodesign --verify --verbose=4 ${appFolder}.........app/TSR.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib--validated:/Users/edward3/Documents/projects/build-tsr-Desktop_Qt_5_5_0_clang_64bit-Release/tsr-app/TSR.app/Contents/PlugIns/printsupport/libcocoaprintersupport.dylib/Users/edward3/Documents/projects/build-tsr-Desktop_Qt_5_5_0_clang_64bit-Release/tsr-app/TSR.app: valid on disk/Users/edward3/Documents/projects/build-tsr-Desktop_Qt_5_5_0_clang_64bit-Release/tsr-app/TSR.app: satisfies its Designated Requirementspctl --verbose --***** --type execute -v TSR.app/TSR.app/: rejectedorigin=Acme, Inc.I am distributing my app in a dmg for distribution outside the Mac app store.Any tips or suggestions on how to properly codesign is much appreciated,-EdOS X 10.10.5XCode 6.4
2
0
7.3k
Aug ’15
System application fails codesign verification on OSX 10.11.5
Hello,I saw that some system application fails the codesign verification on OSX 10.11.5.For example:Finder: codesign -v /System/Library/CoreServices/Finder.app /System/Library/CoreServices/Finder.app: a sealed resource is missing or invalidQuickLookUIHelper: codesign -v /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/Resources/QuickLookUIHelper.app//System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/Resources/QuickLookUIHelper.app/: a sealed resource is missing or invalidquicklookd: codesign -v /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd.app/System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd.app: a sealed resource is missing or invalidWhy the codesign failes for this application and posiblly others?Thanks,Tudor
0
0
430
Jun ’16
Codesign for Notarization Errors (test-requirement:)
Hello, I'm trying to Notarize my pkg which contains many binaries. Luckly all them seem to be suffering from the same errors. I I'm trying to fix just one so that I know all of which to fix. The last one I'm having issues with is -- message: The binary is not signed with a valid Developer ID certificate., When I run the following, everything looks good. codesign -dv --verbose=4 But when I run the following codesign -vvvv -R=notarized --check-notarization /path/to/MyBinar I get the error test-requirement: code failed to satisfy specified code requirement(s) Honestly Apple has made this so confusing and complicated, I'm really losing patience.
5
0
1.9k
Apr ’21
Unexpected behavior for `codesign` when using `sudo su`
Behavior: I was recently having issues with errSecInternalComponent during codesign when using sudo su but NOT when logged into the non administrator account. Which appears to be due to the intermediate certificate not being in the admin user's keychain. Workaround: Add intermediate certificate (in my case the Apple Worldwide Developer Relations Certification Authority (G3) available here) to the Admin (who is running sudo su) user's keychain. Why this is unexpected: security find-identity -p codesigning indicates the identity is valid, but codesign fails with Warning: unable to build chain to self-signed root for signer and errSecInternalComponent. This behavior also seems to imply that while using codesign and sudo su, we are using the switched user (myuser)'s keychain for the signing identity, but the admin user's keychain for intermediate certificates. Setup: Admin user (referred to as admin) Regular user (referred to as myuser) For resting purposes do cp /usr/bin/true
1
0
1k
Sep ’23