Search results for

“codesign”

3,221 results found

Post

Replies

Boosts

Views

Activity

UnityCloudBuild: Codesigned with Sandbox enabled, but still get ITMS-90296: App sandbox not enabled
I've made an MacOS app with Unity Cloud Build and I want to sign and distribute it using App Store Connect. I download the compiled .app file and use codesign to sign all the appropriate files. I also use an entitlements file when I sign the runtime binary. I used the command codesign -d --entitlements on the resulting .app file to confirm that com.apple.security.app-sandbox is set to true, which it is. But when I use productbuild to create the .pkg file and upload it using Transporter, I get an e-mail from App Store Connect saying that ITMS-90296: App sandbox not enabled I don't know how to further debug this... Does anyone have any pointers on how to fix this? Note: it has to be doable either via the Unity Editor, Unity Build Cloud or the MacOS CLI... Codesign showing that app-sandbox is enabled: The error from App Store Connect:
0
0
269
Jan ’25
Get "Command CodeSign failed with a nonzero exit code" when preview
SchemeBuildError: Failed to build the scheme Scrumdinger I just want build for previews ,not on device. meet this error with no change on the file AppIcon60x60.png Sign Scrumdinger.app: /Users/Library/Developer/Xcode/DerivedData/Scrumdinger-bnellhmooyjlwwcnhjmdsgqnkfuf/Build/Intermediates.noindex/Previews/Scrumdinger/Products/Debug-iphonesimulator/Scrumdinger.app: code object is not signed at all In subcomponent: /Users/Library/Developer/Xcode/DerivedData/Scrumdinger-bnellhmooyjlwwcnhjmdsgqnkfuf/Build/Intermediates.noindex/Previews/Scrumdinger/Products/Debug-iphonesimulator/Scrumdinger.app/AppIcon60x60.png Command CodeSign failed with a nonzero exit code it seems not the first time I meet this error. I delete the png file then import a new one can not solve this problem
0
0
485
Nov ’22
Unable to codesign my *.app (error: unable to build chain to self-signed root for signer)
Hi, Recently, we purchased Apple Developer Program to codesign our *.app. But while signing our *.app it throwing a below error. λ ~/Documents/creoox/FreeCAD-AppImage/conda/osx_dev/APP/ master* sudo codesign --deep --force -s Mac Developer: Amritpal Singh (KC65BTVN4Z) ./HyperBIM-v0.36.app Warning: unable to build chain to self-signed root for signer Mac Developer: Amritpal Singh (KC65BTVN4Z) ./HyperBIM-v0.36.app: errSecInternalComponent λ ~/Documents/creoox/FreeCAD-AppImage/conda/osx_dev/APP/ master* sudo codesign --verify --verbose ./HyperBIM-v0.36.app ./HyperBIM-v0.36.app: code object is not signed at all In given below link, there is full detail of error and which steps I followed. bit.ly/2HLx2TY <-- Link Looking forward to hearing from you! thanks, Amritpal Singh
8
0
8.8k
Oct ’20
Command CodeSign failed with a nonzero exit code
updated to XCode 11.4then my app stopped compiling. this is the error:~/Library/Developer/Xcode/DerivedData/concrete-gbrhhoatnalnokezrxqmivnfpmuf/Build/Products/Debug/concrete.app: resource fork, Finder information, or similar detritus not allowedCommand CodeSign failed with a nonzero exit codeI'm fairly certain this error is not the real problem. my project has... 6 targets. 4 frameworks and desktop 2 applications. only happening to 1 application.I have cleaned all targets multiple times, tried rebooting, gone therough all targets and changed the names of folders named Resourceslogged out and back into my keychain, logged out and into of my account in XCode, turned off Signing altogether (or rather... I did the closest available thing,) changed the target OS version (started out at 10.14, went to 10.13, then 10.15)all random suggestions by random people on the internet.the app compiles, I can run it outside of Xcode. no problems. But it's not so finished that I can get by without actually debugging
1
0
1.3k
Mar ’20
Has anyone seen/able to fix a " /usr/bin/codesign '--force' '--sign'" issue?
Hi all!I'm using Xcode - Version 8.0 (8A218a) and sometimes it will fail during a build and will give me this error message. I've had luck cleaning the folder, trashing the derived folered, and booting. This obvisouly is not a strategy the works for me in the long term. Any ideas on how to fix this?I've also recreated this issue with Xcode - Version 8.1 beta (8T46g).error: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' '-' '--verbose' '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-xxxxx/Build/Products/Debug-watchsimulator/TargetName Extension.appex/Frameworks/libswiftCoreGraphics.dylib' }
1
0
264
Oct ’16
App Fails to Launch on Another Mac with Error -10810 After Codesign and Notarization
I exported an app from an Xcode project using the Archive feature. After signing and notarizing it, the app runs normally on my local machine. However, after packaging it with create-dmg or ditto and distributing it to another Mac, I get an error saying the application cannot run. When I execute the command open xxx.app in Terminal, it shows _LSOpenURLsWithCompletionHandler() failed for the application /Applications/Maxi PC Suite.app with error -10810. Does anyone know why this is happening? codesign and notarization info: codesign -vvv Maxi PC Suite.app ...... Maxi PC Suite.app: valid on disk Maxi PC Suite.app: satisfies its Designated Requirement syspolicy_check distribution Maxi PC Suite.app App passed all pre-distribution checks and is ready for distribution.
Topic: Code Signing SubTopic: General
1
0
538
Dec ’24
Reply to Exporting entitlements.plist from the app using the codesign utility gives warning
**Hello, command we are using here codesign -d --entitlements :entitlements.plist /path/to/.app/ when : is removed and command used as codesign -d --entitlements - entitlements.plist /path/to/.app/ or codesign -d --entitlements - --xml entitlements.plist /path/to/.app/ It raises error as Entitlements.plist: No such file or directory Please suggest argument that should be passed here**
Topic: Code Signing SubTopic: Entitlements Tags:
May ’23
How dose bitcode works with codesign?
Hello.I am confused about bitcode. I think Code Signing guarantees the executable binary *is not changed* from developer's build. And this will be contract between users and developer. But bitcode says 'Apple produces optimized binary automatically.', it seems to be contradiction.In bitcode context, what dose 'signing' actually means?
9
0
1.5k
Jul ’15
Xcode asking for keychain I don't recognise to codesign my development teams project
It's very unfortunate, but due to some circumstances I can't get into none of the developers on my team is well versed in iOS build tooling, so we're having real trouble figuring this out... When trying to build a dev version of my teams project on a device through Xcode, I get asked to provide a password to a keychain that I did not create, and do not recognise. The name of the keychain their asking for has this format Apple Development: My Real Name (My team name). I have never used this keychain before, and have no idea where it comes from or what the password is. Is happening because of some setting on my end? Or is this some project-wide setting, where the team has a common password to codesign?
0
0
763
Apr ’21
Codesign script can't find certificates that are active in the keychain. How do I fix this error?
A few years ago I had developer certificates on another Mac computer running High Sierra where I successfully code signed my apps. They were in my keychain and in Xcode. All those certificates have expired. I was using maybe Xcode 9 or earlier. The latest version of Xcode that you can run on High Sierra is 10.1. I have resumed app development using a M1 computer since you have to be running macOS 10.14 or later to upload to their App Stores. I created new certificates using my Apple Developer account in my browser and installed them in the keychain. All certificates have been updated to Always Trust. When I run the following script: echo Starting Signing... codesign -o runtime -f --deep -s --verify --verbose Developer ID Application: my corp (my id) --entitlements ~/myappfolder/my_entitlement_file.entitlements ~/myappfolder/my_app/Contents/ echo Signing app ... codesign -o runtime -f --deep -s --verify --verbose Developer ID Application: my corp (my id) ~/myappfolder/my_app echo Verify Signi
1
0
3.8k
Apr ’21
Reply to About code signing strategy - what happens when we archive a project without code signing, and export it with profile later?
(Self answering my question) So, for the first question, I've done number of experiments and found out that empty-signed archive can be exported, but cannot be deployed to the device. To correctly deploy the ipa(exported) file, the archived one should be signed using codesign command. And to do so, they should contain entitlements and codesign identity. codesign -s {IDENTITY} --entitlements {PATH_TO_ENTITLEMENTS_FILE} ... {PROJECT_PATH}/~~~/{NAME}.app For the second question, I couldn't find the answer, but using the strategy like empty-signing-archive -> codesign -> export can be the alternative.
Nov ’21
UnityCloudBuild: Codesigned with Sandbox enabled, but still get ITMS-90296: App sandbox not enabled
I've made an MacOS app with Unity Cloud Build and I want to sign and distribute it using App Store Connect. I download the compiled .app file and use codesign to sign all the appropriate files. I also use an entitlements file when I sign the runtime binary. I used the command codesign -d --entitlements on the resulting .app file to confirm that com.apple.security.app-sandbox is set to true, which it is. But when I use productbuild to create the .pkg file and upload it using Transporter, I get an e-mail from App Store Connect saying that ITMS-90296: App sandbox not enabled I don't know how to further debug this... Does anyone have any pointers on how to fix this? Note: it has to be doable either via the Unity Editor, Unity Build Cloud or the MacOS CLI... Codesign showing that app-sandbox is enabled: The error from App Store Connect:
Replies
0
Boosts
0
Views
269
Activity
Jan ’25
Get "Command CodeSign failed with a nonzero exit code" when preview
SchemeBuildError: Failed to build the scheme Scrumdinger I just want build for previews ,not on device. meet this error with no change on the file AppIcon60x60.png Sign Scrumdinger.app: /Users/Library/Developer/Xcode/DerivedData/Scrumdinger-bnellhmooyjlwwcnhjmdsgqnkfuf/Build/Intermediates.noindex/Previews/Scrumdinger/Products/Debug-iphonesimulator/Scrumdinger.app: code object is not signed at all In subcomponent: /Users/Library/Developer/Xcode/DerivedData/Scrumdinger-bnellhmooyjlwwcnhjmdsgqnkfuf/Build/Intermediates.noindex/Previews/Scrumdinger/Products/Debug-iphonesimulator/Scrumdinger.app/AppIcon60x60.png Command CodeSign failed with a nonzero exit code it seems not the first time I meet this error. I delete the png file then import a new one can not solve this problem
Replies
0
Boosts
0
Views
485
Activity
Nov ’22
Reply to List paths to all unsigned app dirs?
No.The suffix: .appCLI example to list (non-apple) applications: find ~ -iname *.appCheck codesigning: codesign -dv /someRandom.app
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’16
Unable to codesign my *.app (error: unable to build chain to self-signed root for signer)
Hi, Recently, we purchased Apple Developer Program to codesign our *.app. But while signing our *.app it throwing a below error. λ ~/Documents/creoox/FreeCAD-AppImage/conda/osx_dev/APP/ master* sudo codesign --deep --force -s Mac Developer: Amritpal Singh (KC65BTVN4Z) ./HyperBIM-v0.36.app Warning: unable to build chain to self-signed root for signer Mac Developer: Amritpal Singh (KC65BTVN4Z) ./HyperBIM-v0.36.app: errSecInternalComponent λ ~/Documents/creoox/FreeCAD-AppImage/conda/osx_dev/APP/ master* sudo codesign --verify --verbose ./HyperBIM-v0.36.app ./HyperBIM-v0.36.app: code object is not signed at all In given below link, there is full detail of error and which steps I followed. bit.ly/2HLx2TY <-- Link Looking forward to hearing from you! thanks, Amritpal Singh
Replies
8
Boosts
0
Views
8.8k
Activity
Oct ’20
Command CodeSign failed with a nonzero exit code
updated to XCode 11.4then my app stopped compiling. this is the error:~/Library/Developer/Xcode/DerivedData/concrete-gbrhhoatnalnokezrxqmivnfpmuf/Build/Products/Debug/concrete.app: resource fork, Finder information, or similar detritus not allowedCommand CodeSign failed with a nonzero exit codeI'm fairly certain this error is not the real problem. my project has... 6 targets. 4 frameworks and desktop 2 applications. only happening to 1 application.I have cleaned all targets multiple times, tried rebooting, gone therough all targets and changed the names of folders named Resourceslogged out and back into my keychain, logged out and into of my account in XCode, turned off Signing altogether (or rather... I did the closest available thing,) changed the target OS version (started out at 10.14, went to 10.13, then 10.15)all random suggestions by random people on the internet.the app compiles, I can run it outside of Xcode. no problems. But it's not so finished that I can get by without actually debugging
Replies
1
Boosts
0
Views
1.3k
Activity
Mar ’20
Codesign Error for all projects
I am unable to run any Xcode projects - new or old. I think I messed up my certificates or profiles as I kept deleting and adding new versions but I have no idea how to fix this. Any help would be greatly appreciated.
Replies
1
Boosts
0
Views
914
Activity
Nov ’23
Reply to iOS manually built framework fails when installing app with Application Signature Not Valid
It sounds like you're not signing your framework (and possibly app) correctly. You should inspect the output of 'codesign -vvv /path/to/Company.framework' and 'codesign -vvv /path/to/My.app'
Replies
Boosts
Views
Activity
Dec ’15
Has anyone seen/able to fix a " /usr/bin/codesign '--force' '--sign'" issue?
Hi all!I'm using Xcode - Version 8.0 (8A218a) and sometimes it will fail during a build and will give me this error message. I've had luck cleaning the folder, trashing the derived folered, and booting. This obvisouly is not a strategy the works for me in the long term. Any ideas on how to fix this?I've also recreated this issue with Xcode - Version 8.1 beta (8T46g).error: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' '-' '--verbose' '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-xxxxx/Build/Products/Debug-watchsimulator/TargetName Extension.appex/Frameworks/libswiftCoreGraphics.dylib' }
Replies
1
Boosts
0
Views
264
Activity
Oct ’16
App Fails to Launch on Another Mac with Error -10810 After Codesign and Notarization
I exported an app from an Xcode project using the Archive feature. After signing and notarizing it, the app runs normally on my local machine. However, after packaging it with create-dmg or ditto and distributing it to another Mac, I get an error saying the application cannot run. When I execute the command open xxx.app in Terminal, it shows _LSOpenURLsWithCompletionHandler() failed for the application /Applications/Maxi PC Suite.app with error -10810. Does anyone know why this is happening? codesign and notarization info: codesign -vvv Maxi PC Suite.app ...... Maxi PC Suite.app: valid on disk Maxi PC Suite.app: satisfies its Designated Requirement syspolicy_check distribution Maxi PC Suite.app App passed all pre-distribution checks and is ready for distribution.
Topic: Code Signing SubTopic: General
Replies
1
Boosts
0
Views
538
Activity
Dec ’24
Reply to Exporting entitlements.plist from the app using the codesign utility gives warning
**Hello, command we are using here codesign -d --entitlements :entitlements.plist /path/to/.app/ when : is removed and command used as codesign -d --entitlements - entitlements.plist /path/to/.app/ or codesign -d --entitlements - --xml entitlements.plist /path/to/.app/ It raises error as Entitlements.plist: No such file or directory Please suggest argument that should be passed here**
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
May ’23
How dose bitcode works with codesign?
Hello.I am confused about bitcode. I think Code Signing guarantees the executable binary *is not changed* from developer's build. And this will be contract between users and developer. But bitcode says 'Apple produces optimized binary automatically.', it seems to be contradiction.In bitcode context, what dose 'signing' actually means?
Replies
9
Boosts
0
Views
1.5k
Activity
Jul ’15
No codesigning certificates found
je me demande comment résoudre se problème
Replies
0
Boosts
0
Views
461
Activity
Aug ’21
Xcode asking for keychain I don't recognise to codesign my development teams project
It's very unfortunate, but due to some circumstances I can't get into none of the developers on my team is well versed in iOS build tooling, so we're having real trouble figuring this out... When trying to build a dev version of my teams project on a device through Xcode, I get asked to provide a password to a keychain that I did not create, and do not recognise. The name of the keychain their asking for has this format Apple Development: My Real Name (My team name). I have never used this keychain before, and have no idea where it comes from or what the password is. Is happening because of some setting on my end? Or is this some project-wide setting, where the team has a common password to codesign?
Replies
0
Boosts
0
Views
763
Activity
Apr ’21
Codesign script can't find certificates that are active in the keychain. How do I fix this error?
A few years ago I had developer certificates on another Mac computer running High Sierra where I successfully code signed my apps. They were in my keychain and in Xcode. All those certificates have expired. I was using maybe Xcode 9 or earlier. The latest version of Xcode that you can run on High Sierra is 10.1. I have resumed app development using a M1 computer since you have to be running macOS 10.14 or later to upload to their App Stores. I created new certificates using my Apple Developer account in my browser and installed them in the keychain. All certificates have been updated to Always Trust. When I run the following script: echo Starting Signing... codesign -o runtime -f --deep -s --verify --verbose Developer ID Application: my corp (my id) --entitlements ~/myappfolder/my_entitlement_file.entitlements ~/myappfolder/my_app/Contents/ echo Signing app ... codesign -o runtime -f --deep -s --verify --verbose Developer ID Application: my corp (my id) ~/myappfolder/my_app echo Verify Signi
Replies
1
Boosts
0
Views
3.8k
Activity
Apr ’21
Reply to About code signing strategy - what happens when we archive a project without code signing, and export it with profile later?
(Self answering my question) So, for the first question, I've done number of experiments and found out that empty-signed archive can be exported, but cannot be deployed to the device. To correctly deploy the ipa(exported) file, the archived one should be signed using codesign command. And to do so, they should contain entitlements and codesign identity. codesign -s {IDENTITY} --entitlements {PATH_TO_ENTITLEMENTS_FILE} ... {PROJECT_PATH}/~~~/{NAME}.app For the second question, I couldn't find the answer, but using the strategy like empty-signing-archive -> codesign -> export can be the alternative.
Replies
Boosts
Views
Activity
Nov ’21