Search results for

“codesign”

3,223 results found

Post

Replies

Boosts

Views

Activity

Manual vs. Automatic code signing and subproject dependencies
The ProblemAbsolutely unable to get an automated build for what appears to be automatic/manual codesigning issues.Build environmentTravis CI running Xcode 8 GM, with Fastlane 1.103.0Our project contains 8 subprojects, some private.2 are git submodules (internally developed projects), the remainder are part of a git subtree (externally developed SDKs)TL;DR: manual code signing set on the parent project is not respected by subproject dependencies, which attempt to sign themselves with their own set of rulesThis codesigning conflict causes build failures in Xcode 8 GM xcodebuild command line utility.The Long VersionTrying to do builds using Gym (which runs xcodebuild) I get the following 2 dependency failures.▸ Building Framework/iOSReachability [Release]▸ Check Dependencies▸ Building Adjust/AdjustSdk [Release]▸ Check Dependencies** ARCHIVE FAILED** The following build commands failed: Check dependencies Check dependencies (2 failures) ERROR [2016-09-21 01:43:12.28]: Exit status: 65Checking the
0
0
4.2k
Sep ’16
Problems resigning more complex iOS Apps for Enterprise Distribution
AllI'm working for a worldwide company that requires the apps we produce to be initially resigned for enterprise distribution for testing purposes before submitting to the App Store. This is so that testers who are based in branches all over the world can rigorously test and scrutinise the apps we produce before they are submitted onto the Apple App store.I notice how the simpler apps we produce can be so easily resigned using iResign, where I just need to point to the enterprise distribution provisioning profile and the In-House distribution certificate and the apps then resign, install and work fine.However, some more complex apps we produce only install & work when I resign using Ad hoc distribution or developer cert & provisioning profile, but fail when I resign them for In-house enterprise distribution.I find these more complex apps that deploy watch kit and have many entitlements in the AppID are the apps I cannot resign for enterprise distribution using simple iResign, because they just fail to
0
0
1.1k
Sep ’16
xcode 8 and ios10 enterprise codesign error
hi, after update xcode and macos sierra i have this issueCodeSign /Users/Simone/Library/Developer/Xcode/DerivedData/vanigliaprobeta-clchdjxkwbxnofhjnyozhidhfdwv/Build/Intermediates/ArchiveIntermediates/vanigliapro.temp_caseinsensitive_rename/InstallationBuildProductsLocation/Applications/vanigliaprobetaios.app cd /Users/Simone/Desktop/Lavori/prove c mac/VanigliaPro_beta_xcode5_ios8_beta_gelaterie_ios10 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: Stefano Volpato (623CMNHVSL)Provisioning Profile: iOS Team Provisioning Profile: com.volpato.vanigliaprobetaios (51bb0858-905d-4ac4-bc38-c00e2b64f09f) /usr/bin/codesign --force --sign D818049AA45C673131AF5209316E8A43E5BE8803 --entitlements /Users
3
0
1.5k
Sep ’16
code has no resources but signature indicates they must be present?
I'm trying to follow the instructions provided by Oracle for packaging a Java App for distribution on a Mac.http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.htmlI'm using a Mac running OS 10.11.6. Everything works fine until I get to the code signing step. After scouring the net I have created the following Ant script snippet. <property name=MyApp.app location=dist/ButtonDemo.app/> <property name=jdk value=jdk1.8.0_101.jdk/> <exec executable=chmod> <arg line=-R a+w ${MyApp.app}/> </exec> <apply executable=codesign> <arg line=-f -s 'Developer ID Application: MyName'/> <fileset dir=${MyApp.app}/Contents/PlugIns/${jdk} /> </apply> <exec executable=codesign> <arg line=-f -s 'Developer ID Application: MyName' ${MyApp.app}/> </exec> <!-- verify codesign --> <exec executable=codesign failonerror=true> <arg line=-d --verbose=4 --strict ${MyApp.app}/> </exec>
1
0
2.2k
Sep ’16
Xcode 8 Sierra Codesigning is a Disaster
We have a Mac app in the app store. Upgrading to XCode 8 and Sierra has been a complete disaster. Couldn't get it to codesign. Tried some suggested remedies and apparently trashed our keychain. Automatic does absolutely nothing. Also found that Reset = Revoke, not Reload -- How about some consistent nomenclature? Apple certificates web site shows nothing about Revoke, although we did get an email.Instructions in Documentation are archaic and have no relevance to current screens.I never understood any of this stuff anyway, even though it worked in the past. Now I'm really lost. Surely, there has to be a better way.The operation couldn’t be completed. Unable to log in with account 'XXXXXXXX'. The login details for account 'XXXXXXXX' were rejected.No signing certificate Mac Development found: No Mac Development signing certificate matching team ID XXXXXXX with a private key was found.(XXXXXXX substituted here)
6
0
6.2k
Sep ’16
Xcode 8 can't archive “Command /usr/bin/codesign failed with exit code 1” part 2
I continue to have the problem that Geezus wrote about here:https://forums.developer.apple.com/message/178039#178039And although part of the problem is resolved by KMT's suggestion toTry:execute xattr -rc . both in DerivedData directory and Project directoryThat workaround only works for me when I'm building for a simulator or attached device.But when I try to Archive so I can load to TestFlight/iTunes Conect, the origianl problem persists:resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1I understand the original thread is closed, but since I'm still having trouble, I hope someone can offer additional help.
10
0
4.4k
Sep ’16
SecKey API returned: -25304 libswiftAVFoundation.dylib: unknown error -1=ffffffffffffffff error: Task failed with exit 1 signal 0
Hi,Since 10.12 Sierra major update, I can't compile one of my iOS projects only on device. But weird, it's works fine on simulator.So I tried to remove and resetup my dev account in Xcode, hard reboot, remove and resetup all certificates in keychain, etc.I use XCode 8.0. I also tried it on Xcode 8.1 beta too, same result.The error at end of compilation :SecKey API returned: -25304, (null)/Users/***/Library/Developer/Xcode/DerivedData/***-epkppprfmidyatftsvnxgjqsawit/Build/Products/Debug-iphoneos/***.app/Frameworks/libswiftAVFoundation.dylib: unknown error -1=fffffffffffffffferror: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' 'C47B52FDE2CABFC81D33BED8937984AF8BC6DC33' '--verbose' '/Users/***/Library/Developer/Xcode/DerivedData/***-epkppprfmidyatftsvnxgjqsawit/Build/Products/Debug-iphoneos/**.app/Frameworks/libswiftAVFoundation.dylib'Thank you for any help.
14
0
8.8k
Sep ’16
code signature in (/xxxxx) not valid for use in process using Library Validation
I'm trying to build proxychains with xcode 8. When I run a program I got: /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib'When I signed the program and library: codesign -s Mac Developer: xxxx `which proxychains` codesign -s Mac Developer: xxxx /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylibNo errors, but when I run it again, it says /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signature in (/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib) not valid for use in process using Library Validation: mapping process is a platform binary, but mapped file is notWhat should I do now? Do I need some sort of entitlements?
0
0
2.3k
Sep ’16
Problems resigning more complex iOS Apps for Enterprise Distribution
AllThis message is more suitable for the enterprise distribution forum, but as that forum is not currently taking new posts I decided to post it here.I'm working for a worldwide company that requires the apps we produce to be initially resigned for enterprise distribution for testing purposes before submitting to the App Store. This is so that testers who are based in branches all over the world can rigorously test and scrutinise the apps we produce before they are submitted onto the Apple App store.I notice how the simpler apps we produce can be so easily resigned using iResign, where I just need to point to the enterprise distribution provisioning profile and the In-House distribution certificate and the apps then resign, install and work fine. However, some more complex apps we produce only install & work when I resign using Ad hoc distribution or developer cert & provisioning profile, but fail when I resign them for In-house enterprise distribution.I find these more complex apps that deploy watch
2
0
2.2k
Sep ’16
Cannot build project due to Code sign error /invalid resource specification rule(s)/
Just upgraded to XCode 8 and got this error:/Users/XYZ/Library/Developer/Xcode/DerivedData/XYZ/Build/Products/Debug-iphoneos/XYZapp: invalid resource specification rule(s)Command /usr/bin/codesign failed with exit code 1and cannot build my project. Searched and found nothing relating this error. Tried bunch of different of code sign error solution with no success. I can build my project under XCode 7 wihtout any problem on different machine. This error drives me crazy, so please please any help me
1
0
1.1k
Sep ’16
Suddenly a CodeSign error
If I try to build my OS App I get now the following error under xCode8 (Version 8.0 (8A218a)), OS 10.12:CodeSign (build)/Debug/Rasche`s Spiele 4 Deb.app cd /Users/uwerasche/Skat7.0Arbeit export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocateSigning Identity: Mac Developer: Uwe Rasche (E5GCC924JS) /usr/bin/codesign --force --sign F880090B18B8505522818578274D7F157BE0D45E --deep --timestamp=none /Users/uwerasche/Skat7.0Arbeit/(build)/Debug/Rasche`s Spiele 4 Deb.app/Users/uwerasche/Skat7.0Arbeit/(build)/Debug/Rasche`s Spiele 4 Deb.app: resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1What had I do?- I look to the certification, replace all, delete in Xcode8 my developer information, delete the destination folder (in my Xcode is the menu item „clean build folder“ disabled, but for a test project it is enabled.)1. Step: Under OS 10.11.6 xCode8 can si
0
0
474
Sep ’16
Manual vs. Automatic code signing and subproject dependencies
The ProblemAbsolutely unable to get an automated build for what appears to be automatic/manual codesigning issues.Build environmentTravis CI running Xcode 8 GM, with Fastlane 1.103.0Our project contains 8 subprojects, some private.2 are git submodules (internally developed projects), the remainder are part of a git subtree (externally developed SDKs)TL;DR: manual code signing set on the parent project is not respected by subproject dependencies, which attempt to sign themselves with their own set of rulesThis codesigning conflict causes build failures in Xcode 8 GM xcodebuild command line utility.The Long VersionTrying to do builds using Gym (which runs xcodebuild) I get the following 2 dependency failures.▸ Building Framework/iOSReachability [Release]▸ Check Dependencies▸ Building Adjust/AdjustSdk [Release]▸ Check Dependencies** ARCHIVE FAILED** The following build commands failed: Check dependencies Check dependencies (2 failures) ERROR [2016-09-21 01:43:12.28]: Exit status: 65Checking the
Replies
0
Boosts
0
Views
4.2k
Activity
Sep ’16
Problems resigning more complex iOS Apps for Enterprise Distribution
AllI'm working for a worldwide company that requires the apps we produce to be initially resigned for enterprise distribution for testing purposes before submitting to the App Store. This is so that testers who are based in branches all over the world can rigorously test and scrutinise the apps we produce before they are submitted onto the Apple App store.I notice how the simpler apps we produce can be so easily resigned using iResign, where I just need to point to the enterprise distribution provisioning profile and the In-House distribution certificate and the apps then resign, install and work fine.However, some more complex apps we produce only install & work when I resign using Ad hoc distribution or developer cert & provisioning profile, but fail when I resign them for In-house enterprise distribution.I find these more complex apps that deploy watch kit and have many entitlements in the AppID are the apps I cannot resign for enterprise distribution using simple iResign, because they just fail to
Replies
0
Boosts
0
Views
1.1k
Activity
Sep ’16
xcode 8 and ios10 enterprise codesign error
hi, after update xcode and macos sierra i have this issueCodeSign /Users/Simone/Library/Developer/Xcode/DerivedData/vanigliaprobeta-clchdjxkwbxnofhjnyozhidhfdwv/Build/Intermediates/ArchiveIntermediates/vanigliapro.temp_caseinsensitive_rename/InstallationBuildProductsLocation/Applications/vanigliaprobetaios.app cd /Users/Simone/Desktop/Lavori/prove c mac/VanigliaPro_beta_xcode5_ios8_beta_gelaterie_ios10 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: Stefano Volpato (623CMNHVSL)Provisioning Profile: iOS Team Provisioning Profile: com.volpato.vanigliaprobetaios (51bb0858-905d-4ac4-bc38-c00e2b64f09f) /usr/bin/codesign --force --sign D818049AA45C673131AF5209316E8A43E5BE8803 --entitlements /Users
Replies
3
Boosts
0
Views
1.5k
Activity
Sep ’16
code has no resources but signature indicates they must be present?
I'm trying to follow the instructions provided by Oracle for packaging a Java App for distribution on a Mac.http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.htmlI'm using a Mac running OS 10.11.6. Everything works fine until I get to the code signing step. After scouring the net I have created the following Ant script snippet. <property name=MyApp.app location=dist/ButtonDemo.app/> <property name=jdk value=jdk1.8.0_101.jdk/> <exec executable=chmod> <arg line=-R a+w ${MyApp.app}/> </exec> <apply executable=codesign> <arg line=-f -s 'Developer ID Application: MyName'/> <fileset dir=${MyApp.app}/Contents/PlugIns/${jdk} /> </apply> <exec executable=codesign> <arg line=-f -s 'Developer ID Application: MyName' ${MyApp.app}/> </exec> <!-- verify codesign --> <exec executable=codesign failonerror=true> <arg line=-d --verbose=4 --strict ${MyApp.app}/> </exec>
Replies
1
Boosts
0
Views
2.2k
Activity
Sep ’16
Xcode 8 Sierra Codesigning is a Disaster
We have a Mac app in the app store. Upgrading to XCode 8 and Sierra has been a complete disaster. Couldn't get it to codesign. Tried some suggested remedies and apparently trashed our keychain. Automatic does absolutely nothing. Also found that Reset = Revoke, not Reload -- How about some consistent nomenclature? Apple certificates web site shows nothing about Revoke, although we did get an email.Instructions in Documentation are archaic and have no relevance to current screens.I never understood any of this stuff anyway, even though it worked in the past. Now I'm really lost. Surely, there has to be a better way.The operation couldn’t be completed. Unable to log in with account 'XXXXXXXX'. The login details for account 'XXXXXXXX' were rejected.No signing certificate Mac Development found: No Mac Development signing certificate matching team ID XXXXXXX with a private key was found.(XXXXXXX substituted here)
Replies
6
Boosts
0
Views
6.2k
Activity
Sep ’16
Xcode 8 can't archive “Command /usr/bin/codesign failed with exit code 1” part 2
I continue to have the problem that Geezus wrote about here:https://forums.developer.apple.com/message/178039#178039And although part of the problem is resolved by KMT's suggestion toTry:execute xattr -rc . both in DerivedData directory and Project directoryThat workaround only works for me when I'm building for a simulator or attached device.But when I try to Archive so I can load to TestFlight/iTunes Conect, the origianl problem persists:resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1I understand the original thread is closed, but since I'm still having trouble, I hope someone can offer additional help.
Replies
10
Boosts
0
Views
4.4k
Activity
Sep ’16
codesign failed - I am desperate !
I update macOSierra, from this moments if I archive a proyect always have this message:I deleted Developer and Dsitribution provisioning profiles and revoke certificate and not wotk.I don´t know what to do. Help me please I´m desperate :-(
Replies
2
Boosts
0
Views
642
Activity
Sep ’16
Reply to codesign failed - I am desperate !
this is the erro:/Users/FrancescNavarro/Library/Developer/Xcode/DerivedData/Unity-iPhone-ealscmcldofmphakbdtmgdjrtvsc/Build/Intermediates/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/archery.app: resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1
Replies
Boosts
Views
Activity
Sep ’16
SecKey API returned: -25304 libswiftAVFoundation.dylib: unknown error -1=ffffffffffffffff error: Task failed with exit 1 signal 0
Hi,Since 10.12 Sierra major update, I can't compile one of my iOS projects only on device. But weird, it's works fine on simulator.So I tried to remove and resetup my dev account in Xcode, hard reboot, remove and resetup all certificates in keychain, etc.I use XCode 8.0. I also tried it on Xcode 8.1 beta too, same result.The error at end of compilation :SecKey API returned: -25304, (null)/Users/***/Library/Developer/Xcode/DerivedData/***-epkppprfmidyatftsvnxgjqsawit/Build/Products/Debug-iphoneos/***.app/Frameworks/libswiftAVFoundation.dylib: unknown error -1=fffffffffffffffferror: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' 'C47B52FDE2CABFC81D33BED8937984AF8BC6DC33' '--verbose' '/Users/***/Library/Developer/Xcode/DerivedData/***-epkppprfmidyatftsvnxgjqsawit/Build/Products/Debug-iphoneos/**.app/Frameworks/libswiftAVFoundation.dylib'Thank you for any help.
Replies
14
Boosts
0
Views
8.8k
Activity
Sep ’16
code signature in (/xxxxx) not valid for use in process using Library Validation
I'm trying to build proxychains with xcode 8. When I run a program I got: /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signing blocked mmap() of '/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib'When I signed the program and library: codesign -s Mac Developer: xxxx `which proxychains` codesign -s Mac Developer: xxxx /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylibNo errors, but when I run it again, it says /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signature in (/usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib) not valid for use in process using Library Validation: mapping process is a platform binary, but mapped file is notWhat should I do now? Do I need some sort of entitlements?
Replies
0
Boosts
0
Views
2.3k
Activity
Sep ’16
how do I solve the Command /usr/bin/codesign failed with exit code 1 error?
I've tried to reissue new developer certificates and i keep getting this error Command /usr/bin/codesign failed with exit code 1 when i try to build my app
Replies
3
Boosts
0
Views
1.8k
Activity
Sep ’16
Problems resigning more complex iOS Apps for Enterprise Distribution
AllThis message is more suitable for the enterprise distribution forum, but as that forum is not currently taking new posts I decided to post it here.I'm working for a worldwide company that requires the apps we produce to be initially resigned for enterprise distribution for testing purposes before submitting to the App Store. This is so that testers who are based in branches all over the world can rigorously test and scrutinise the apps we produce before they are submitted onto the Apple App store.I notice how the simpler apps we produce can be so easily resigned using iResign, where I just need to point to the enterprise distribution provisioning profile and the In-House distribution certificate and the apps then resign, install and work fine. However, some more complex apps we produce only install & work when I resign using Ad hoc distribution or developer cert & provisioning profile, but fail when I resign them for In-house enterprise distribution.I find these more complex apps that deploy watch
Replies
2
Boosts
0
Views
2.2k
Activity
Sep ’16
Cannot build project due to Code sign error /invalid resource specification rule(s)/
Just upgraded to XCode 8 and got this error:/Users/XYZ/Library/Developer/Xcode/DerivedData/XYZ/Build/Products/Debug-iphoneos/XYZapp: invalid resource specification rule(s)Command /usr/bin/codesign failed with exit code 1and cannot build my project. Searched and found nothing relating this error. Tried bunch of different of code sign error solution with no success. I can build my project under XCode 7 wihtout any problem on different machine. This error drives me crazy, so please please any help me
Replies
1
Boosts
0
Views
1.1k
Activity
Sep ’16
Reply to Cannot build project due to Code sign error /invalid resource specification rule(s)/
Remove CFBundleResourceSpecification key from Info.plist and codesign works
Replies
Boosts
Views
Activity
Sep ’16
Suddenly a CodeSign error
If I try to build my OS App I get now the following error under xCode8 (Version 8.0 (8A218a)), OS 10.12:CodeSign (build)/Debug/Rasche`s Spiele 4 Deb.app cd /Users/uwerasche/Skat7.0Arbeit export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocateSigning Identity: Mac Developer: Uwe Rasche (E5GCC924JS) /usr/bin/codesign --force --sign F880090B18B8505522818578274D7F157BE0D45E --deep --timestamp=none /Users/uwerasche/Skat7.0Arbeit/(build)/Debug/Rasche`s Spiele 4 Deb.app/Users/uwerasche/Skat7.0Arbeit/(build)/Debug/Rasche`s Spiele 4 Deb.app: resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1What had I do?- I look to the certification, replace all, delete in Xcode8 my developer information, delete the destination folder (in my Xcode is the menu item „clean build folder“ disabled, but for a test project it is enabled.)1. Step: Under OS 10.11.6 xCode8 can si
Replies
0
Boosts
0
Views
474
Activity
Sep ’16