Search results for

codesign

3,107 results found

Post

Replies

Boosts

Views

Activity

codesign succeeds but codesign --verify fails
codesign of .app file succeeds on Mavericks, But when codesign --verify is run I get CSSMERR_TP_NOT_TRUSTED error on the same system. When codesign is run again it says already signed, But when codesign -dv is run, Authority, Team Identifier is not set. The certificate is valid and signed by Apple. I tried importing this certificate on different machine and it works perfectly fine. I checked intermediate certificates and all are present and certificate shows with green check mark on keychain access. Tried cleaning up keychain and reimporting with no luck. A different Certificate which was working on a different system when imported in this particular system fails. So not sure where the issue is?. I am suspecting keychain, Is there a way to get keychain to fresh install state?. Any help appriciated.ThanksPreetham
1
0
2.8k
Sep ’19
Codesigning a static library
I tried to find information about codesigning a static library, but couldn't find anything. I tried to use codesign -s identity xxx.a from the terminal, but this didn't change the xxx.a file. So:-Is codesigning a static library even possible? (according to the apple docs, you should be able to codesign every type of code, so I assumed that it is possible)-If yes, can I codesign a static library via the terminal using only the .a file, or do I have to codesign it when compiling?Thanks,Markus
0
0
658
Aug ’15
VisionOS Codesigning
VisionOS was just released recently. I am looking for information regarding codesigning and notarization. How will codesigning work for VisionOS apps? What kind of signing tools will be used for VisionOS? Will there be a requirement for provisioning profiles for VisionOS apps? Thanks.
2
0
652
Feb ’24
Codesigning Syntax
Has the codesign syntax changed recently? I'm trying to sign an OSX app using the same syntax as I used successfully in August last year and terminal just responds with a guide on usage. I'm using 11.6.3 The syntax I'm using is codesign -s 123456789 --options runtime --timestamp --force --deep --entitlements pathtoobject Thanks!
2
0
1k
Feb ’22
Codesign failed
Hello everybody,I dunno if this is the right place to put this issue, admin, please move it where it's best.My problem is that when I try to upload/validate/export a built archive I always get codesign fail.Here's what i got:-provisioning profile-distribution certificate-iTunesConnect record of the app-made App ID (com.MM.VisionAir)I went to Build Settings and set Provisioning profile, codesign identity (debug, distribution, release)then i ran CLEAN, then ARCHIVE.Opened the organizer, selected latest archive built and clicked on validate/export/upload but nothing changed, they all resulted in codesign faili'm using XCode 7.1.Project was made from Unity 5.2.2Anybody can help?
2
0
698
Nov ’15
Codesign Error
I developed an app and am trying to run it on my iPhone, but when I try to run the app, it says something like, Couldn't codesign, and then it has a directory that doesn't exist on my computer. Please help if you can. 😟
0
0
208
Jun ’16
Bundle codesign
Hi all. We are use cicd for build application bundle. Build and codesign have same process each time. Couple day ago we started getting errors can`t be opened because the identity of the developer... on some bundle. But, we can star build tow pipline one verson. One build will be work is fine, second is not. If i check codesign -dvvv ./Application.app on both build get success result. Problem on mac os version < 10.15.4. Our sdk 10.15.4. Reason may be in sdk, but why one build work, second none. Both get success on apple sign site. What could be the problem?
0
0
799
Dec ’21
CodeSign with entitlements problem
I got a error when validate App as flow Asset validation failed App sandbox not enabled. The following executables must include the com.apple.security.app-sandbox entitlement with a Boolean value of true in the entitlements property list: [( com.xxx.yyy.pkg/Payload/xxx.app/Contents/MacOS/zzz )] Refer to App Sandbox page at https://developer.apple.com/documentation/security/app_sandbox for more information on sandboxing your app. (ID: dc264017-f236-4e89-a100-e69c7f0fb318) zzz is a command tool build by make, I need codesign it. #1. use two lines below, run succes, but get 'App sandbox not enabled' problem codesign -s TTT1 -f -v --timestamp --options runtime dist/m_arm64/zzz codesign -s TTT1 -f -v --timestamp --options runtime dist/m_x64/zzz #2. use two lines below, reduce 'App sandbox not enabled' , but run zzz get 'zsh: trace trap' codesign -s TTT2 -o runtime --entitlements zzz.entitlements -f dist/debug/zzz codesign -s TTT2 -o runtime --entitlements zzz.entitlemen
1
0
761
Dec ’24
CodeSign issue
We have a persistent CodeSign issue with the following error shown in the log when running an iOS build on a Jenkins node with macOS Catalina 10.15.7: errSecInternalComponent Command CodeSign failed with a nonzero exit code We have a troubleshooting page and we tried all of the following, to no avail. The CodeSign issue is still there: __________________________________________________ Check that all the required certificates are present in Keychain Access Check that the access control of all certificates is correct Check that the certificate for the corresponding territory has the right access control (either code sign or all apps) If not, expand the certificate for the territory (arrow), select both the public and the private key underneath it and delete: you will be prompted to enter the password Quit Keychain Access Run the following command to import again the certificate with the right access controls: sudo security import .p12 -P -k /Library/Keychains/System.keychain -T /usr
4
0
7.3k
Nov ’20
codesign --timestamp
I have made a web service (php apache) for building package online.Within the php script, I call a script with exec() to sign the app file.Inside the script.sh I have the codesign command:codesign -f -s ${APP_SIG_NAME} --keychain ${SIGNING_KEYCHAIN} ${out_name}.appand it fails saying: A timestamp was expected but was not found.When I add --timestamp=none, it works and signs the app.When I run my script.sh from terminal it works fine, even without --timestamp=none .The output from Terminal-script.sh without --timestamp=none is different from the output from php-script.sh with --timestamp=none.How can I make codesign to work without --timestamp=none when I call from php script?I tried: Change apache user to admin Use different timestamp serversbut no success.
0
0
1.9k
Jun ’17
Issues with codesign
Hi,I'm trying to codesign a wflow file in a xxx.app bundle.I run the codesign -f -v -s Developer ID Application: xxxxxxx document.wflowBut everytime I get:document.wflow: replacing existing signature document.wflow: errSecInternalComponentWhen I try to remove the -f I get:document.wflow: is already signedBut when I run codesign -dv document.wflow I get:Executable=/private/var/folders/02/6nmx541x4rq4f6mz3n9__px40000gn/T/fxbundler5337258839194575333/images/image-2908348883327387593/PingID-TEST.app/Contents/Java/Uninstaller.app/Contents/document.wflow Identifier=document Format=generic CodeDirectory v=20200 size=168 flags=0x0(none) hashes=1+2 location=embedded document.wflow: no signature Info.plist=not bound TeamIdentifier=not set Sealed Resources=none Internal requirements count=1 size=168Please, any help appreciated. I'm sitting on this for the last couple of days with no luck.
0
0
840
Jun ’18
Bug in codesign and SecCodeCheckValidityWithErrors?
Problem:I have a command line tool that is codesigned with a valid Developer ID Application certificate/identity (which expires in 2018)When this command line tool is checked in its build folder with codesign -vvvvvvvvv, everything is OK:mytool: valid on diskmytool: satisfies its Designated RequirementWhen this command line tool is checked in its installed location with codesign -vvvvvvvvv, there is a problem:mytool: invalid signature (code or signature have been modified)In architecture: x86_64Now, the weird part:- the md5 for the 2 instances are the same- the sha-1 for the 2 instances are the same- if I rename the instance in the installed location like this:mv mytool mytool2and then check with codesign -vvvvvvvv, everything is OK.If I put back the old name and check it with codesign -vvvvvvvv, same problem about the invalid signature.Note:If the running process mytool (in the installed location) is checked with SecCodeCheckValidityWithErrors, an error is returne
3
0
1.3k
Mar ’17
Codesign API?
Is there a Swift to C API that delivers the same functionality as the codesign command? I would like, given a path to an executable, determine if it has been signed, and if so, extract the TeamIdentifier and Identifier values.
1
0
1k
Apr ’23
codesign errSecInternalComponent
I encountered a signature issue, codesign -f -s Developer ID Application: xxx /Users/leagsoft/Desktop/uninstall /Users/leagsoft/Desktop/uninstall: replacing existing signature Warning: unable to build chain to self-signed root for signer Developer ID Application:xxx /Users/uninstall: errSecInternalComponent but using Sodu can sign normally
Topic: Code Signing SubTopic: General
1
0
738
Jun ’24
codesign every binary?
Hi,We develop the macOS app bundle for our product. I have a question for other developers/packagers. We codesign every binary and .dylib first before we create the app bundle. The app bundle is then codesigned again and notarised. I wanted to know if it's a must to code sign every binary or simply code sign the application is enough?
4
0
5.3k
Feb ’20