Search results for

codesign

3,112 results found

Post

Replies

Boosts

Views

Activity

No codesigning certificates found
Hello all, Hoping someone has come across this before? I unistalled xcode a few weeks ago, not sure if these issues are related?i have an app I would like to test on my Apple TV. I've just got the free dev account ATM. When I open iOS App Signer to generate the ipa file, I get the above error - No codesigning certificates found, you won't be able to successfully sign anything.There are no options in my Signing Certificate field. This all worked fine a few weeks ago when I loaded the app onto y iPad.Anyone have any ideas please?Thanks
9
0
29k
Feb ’16
CodeSign failed with nonzero exit code
I'm running 10.15 with Xcode 11.1I've got an iPad application that works, and wanted to try things out under Catalyst on my Mac. I selected Mac from the Xcode device menu and ran again, but I get an error at the end of compilationCommand CodeSign faild with nonzero exit codeI cleaned the build folder, installed a MacOS distribution certificate, but the error persists. Any ideas?
3
0
1.1k
Oct ’19
debug won't codesign, other configs will
I am unable to get a fully codesigned debug version of my app, whilst other configurations such as the profiling build will codesign. This is obvious as it is a sandboxed app and the debug version cannot generate a bookmark for a file (Cocoa error 256) whilst the profiling version can. Other entitlements, networking and microphone, work fine on both versions. When I use codesign -v it reports that the app isn't signed at all. I use automatically managed signing and this has been working until yesterday, when I manually installed a new developer install certificate in the keychain. The actual warning is appname isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. This is the entitlements file:<?xml version=1.0 encoding=UTF-8?><!DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd><plist version=1.0><dict> <key>com.apple.security.app-sandbox</key&g
1
0
399
Apr ’20
Codesign prints to stderr: workaround and bug report
First off I submitted a bug report at https://developer.apple.com/bug-reporting/Using Xcode 11.3 and command line utilities.Bug: codesign command line utility always prints to stderr.This confused me while I was trying to test that codesigning succeeded as part of a continuous integration script.NOTE that you may use the codesign return value to test success or failure.Workaround: One liner to save only stderr output from a command to a variable and print stdout:{ stderr_only=$( { codesign ${=CSVARS} $SIG $APP_NAME; } 2>&1 1>&3 3>&- ); } 3>&1; ret_val=$? echo Return val: $ret_val echo Codesign stderr only: $stderr_onlyScript to reproduce#!/bin/zsh #codesign_prints_to_stderr.sh export CSARGS=-f --verbose --timestamp -o runtime --sign #NOTE: Replace with a valid signature export SIG=Developer ID Application: Your Company (ID) #NOTE: Replace with a valid app folder export APP_NAME=TestApp.app echo codesign ${=CSARGS} $SIG $APP_NAM
2
0
1.1k
Mar ’20
Xcode asks for codesign keychain pw
I can no longer build to my iphone 8 plus because I get asked for my codesign keychain access password and I apparenly do not know the pw. I was able to build to this iphone fine as of a few days ago. I am running Xcode 9 on Mac OS Sierra. IPhone is running ios 11. I can build to the simulators. Any help would be greatly appreciated. Thank sin advance Jim Allison
1
0
561
Nov ’17
new mac, codesign unknown error -1=ffffffffffffffff
just got a new mac and now i get codesign errors. the time savedby a faster CPU is now burnt up fixing weird bugs related to codesigning.whatever.app: unknown error -1=ffffffffffffffffCommand /usr/bin/codesign failed with exit code 1it would be nice if apple had a verbose mode for this codesign command so we can trace the problemrather than saying unknown errorside note: for another account, i fixed the problem by regenerating signing certs and provisioning profiles.but this is for a client and they dont like us deleting certs because it disrupts other developers.there are various hints on this topic online and i have tried a bunch of them but no progress.same error always.i can codesign on my old mac. so the provisioning is correct. just not on this mac.should i return this new one to the apple store? it's real nice, but if ican't do critical operations...what we need is a verbose codesign mode for this type of thingthis is for production / upload to test flight b
6
0
2.1k
Jul ’18
codesign ask me 34 times to access
Hi guy,why Xcode ask me for many times to access the keychain and other times only ones or twice?and if I click on 'consenti' (in English 'allow') pop up other codesign prompt. I've counted there are 34 requestscome out.how can I solve this problem?these are two screenshot about problem
2
0
4.8k
Nov ’16
codesign use of Cloud-managed Developer ID
My non-cloud Developer ID certificate will expire soon, and my account also has a cloud-managed Developer ID Certificate. My Mac application build workflow uses Archiving, so the cloud cert should be fine for that. But my workflow also signs bundled apps, such as Sparkle framwork's Autodupate app, using the codesign tool. Is it correct that codesign only uses certificates from the local Keychain, and so cannot use a Cloud-managed Developer ID certificate? Before I manually renew the non-cloud Developer ID certificate, I want to make sure I'm not missing some easier method. Thanks.
1
0
512
Nov ’24
Xcode CI codesign issues
I'm using the latest El Capitan, and Server Beta 3 with Xcode Beta 3.The selected Xcode is configured with the proper team account that has the codesigning certificate.This was from importing a devloper profile.I also added and selected the corresponding team on the CI config screen in the Server.app.Building with the Xcode that is selected, code signs properly. However when the bot runs, it fails saying it can't find the identity.Any ideas on why the Xcode the server is configured to use code signs properly, but the bot cannot?
0
0
324
Jul ’15
codesign with entitlement is not working
I have binary application in c++ and objective c++ created not with xcode. I'm trying to sign and add entitlement that will allow the application to store certificate in keychain. When I sign the app with entitlement and try to run it crash and I see error - Code Signature Invalid. signing without the entitlement is fine. command to sign: codesign -f -s MyName -o runtime --timestamp --entitlements Here is the file: keychain-access-groups myApp Why I'm not able to add entitlement to my app ?
1
0
3.9k
Nov ’21
Xcode 10.2ß Codesign error because of detritus
I am experiencing a codesign issue when I try to build with XCode 10.2ß2, the same with ß3.I have some code that compiles fine with XCode 10.0 or with XCode 10.1ß2.When I try to compile the exact same project with XCode 10.2ß2, or ß3, I get the following error:/Users/xxxxxxxx/Library/Developer/Xcode/DerivedData/appName-bgrsgphmdtpjpwalpbfagjcpdzrc/Build/Products/Debug/appName.app: resource fork, Finder information, or similar detritus not allowedCommand CodeSign failed with a nonzero exit codeI have cleaned the attributes with xattr command in Terminal, no change.I have tried to change Swift language version, testing with unspecified, 5, 4.2 and 4. No change.
6
0
1.4k
Feb ’19
Codesigning binaries in bundle
I am building plug-ins for audio software. I am using the JUCE framework and I am building with VScode / CMake / Ninja / LLVM I want to package the output, which are two bundles Sinensis.component (the AU plugin) and Sinensis.vst3 (the vst3 plugin) I am using this script : codesign -s Developer ID Application: $DEVELOPER_ID --timestamp --force -o runtime -i $PLUGIN_NAME.component $PLUGIN_NAME.component/Contents/MacOs/$PLUGIN_NAME #--options=runtime pkgbuild --install-location /Library/Audio/Plug-Ins/Components --sign Developer ID Installer: $DEVELOPER_ID --timestamp --identifier $IDENTIFIERau --version $VERSION --root $PLUGIN_NAME.component $PLUGIN_NAME_au.pkg codesign -s Developer ID Application: $DEVELOPER_ID --timestamp --force -o runtime -i $PLUGIN_NAME.vst3 $PLUGIN_NAME.vst3/Contents/MacOs/$PLUGIN_NAME #--options=runtime pkgbuild --install-location /Library/Audio/Plug-Ins/VST3 --sign Developer ID Installer: $DEVELOPER_ID --timestamp --identifier $IDENTIFIERvst3 --version $VERSION --root
1
0
949
Apr ’24
Identity findable by `security find-identity`, but not `codesign`
I am experiencing an issue with signing an application, where codesign is unable to find the identity I am referencing. I have imported a .p12 certificate into a keychain labeled build.keychain, and running security find-identity -v -p codesigning build.keychain returns 1 valid codesigning identity. When I use the unique identifier provided (the all-caps hex hash) as the signing identity for the codesign command, the command exits with the error error: The specified item could not be found in the keychain. I have tried specifying the keychain to search within (build.keychain), as well as running the command without specifying the keychain. The specific command in question is: codesign --continue --force -vvvv --keychain /Users/runner/Library/Keychains/build.keychain-db -s $SIGNER_HEX_HASH --options runtime path/to/app/App.app/Contents/Frameworks/App.framework/Versions/A My apologies if I'm missing something obvious. Most forums and posts reference cases where no va
1
0
1.2k
Apr ’23
codesign doesn't use the keychain path passed via --keychain
I have two certs with same name so prevent the ambiguity that codesign has when it finds two certs with same name in the keychain, I tried to create a new keychain and moved the cert I want into it and passed the path with --keychain param to the codesign tool. But it still looks for the cert in the login keychain. What's wrong with the below command? codesign -fs $CODE_SIGN_IDENTITY --keychain full/path/to/codesigning.keychain-db $FILE
1
0
738
May ’22