- Home /
XCODE code sign error when testing on iPhone,xcode codesign error
Hi all, been stuck on this for a week now searching all forums and trying every answer but none seem to work. my game is built with unity and is published on play store with no problems and wish to experiment with IOS so I am new to the Xcode and mac etc and trying to learn a complete new system, I recently purchased a late 2012 mini mac which I upgraded the ram to 16gb and have Xcode 10 installed, version of unity used is 2021.1.16f1. when running the unity project in Xcode to test on an iPhone i also recently purchased iPhone(6) I get the error message :- CodeSign /Users/MacMini/Library/Developer/Xcode/DerivedData/Unity-iPhone-BUNCH OF LETTERS /Build/Products/ReleaseForRunning-iphoneos/JumpingJacks.app/Frameworks/UnityFramework.framework (in target: Unity-iPhone) cd /Users/MacMini/Desktop/Jumping\ Jacks/FILE NAME export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "iPhone Developer: NAME (IPHONE CODE NAME)" Provisioning Profile: "jj test" (BUNCH OF LETTERS/NUMBERS) /usr/bin/codesign --force --sign BUNCH OF LETTERS NUMBERS --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/MacMini/Library/Developer/Xcode/DerivedData/Unity-iPhone-BUNCH OF LETTERS/Build/Products/ReleaseForRunning-iphoneos/JumpingJacks.app/Frameworks/UnityFramework.framework Warning: unable to build chain to self-signed root for signer "iPhone Developer: NAME (LETTERS/NUMBERS)" /Users/MacMini/Library/Developer/Xcode/DerivedData/Unity-iPhone-BUNCH OF LETTERS/Build/Products/ReleaseForRunning-iphoneos/JumpingJacks.app/Frameworks/UnityFramework.framework: errSecInternalComponent Command CodeSign failed with a nonzero exit code please could someone help me out, tried redoing certs for both apple.developer and keychain, checked unity iOS player settings, build options etc. Thank you.,Hi all, been stuck on this for a week now searching all forums and trying every answer but none seem to work. my game is built with unity and is published on play store with no problems and wish to experiment with IOS so I am new to the Xcode and mac etc and trying to learn a complete new system, I recently purchased a late 2012 mini mac which I upgraded the ram to 16gb and have Xcode 10 installed, version of unity used is 2021.1.16f1. when running the unity project in Xcode to test on an iPhone i also recently purchased iPhone(6) I get the error message :- CodeSign /Users/MacMini/Library/Developer/Xcode/DerivedData/Unity-iPhone-BUNCH OF LETTERS /Build/Products/ReleaseForRunning-iphoneos/JumpingJacks.app/Frameworks/UnityFramework.framework (in target: Unity-iPhone) cd /Users/MacMini/Desktop/Jumping\ Jacks/FILE NAME export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "iPhone Developer: NAME (IPHONE CODE NAME)" Provisioning Profile: "jj test" (BUNCH OF LETTERS/NUMBERS) /usr/bin/codesign --force --sign BUNCH OF LETTERS NUMBERS --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/MacMini/Library/Developer/Xcode/DerivedData/Unity-iPhone-BUNCH OF LETTERS/Build/Products/ReleaseForRunning-iphoneos/JumpingJacks.app/Frameworks/UnityFramework.framework Warning: unable to build chain to self-signed root for signer "iPhone Developer: NAME (LETTERS/NUMBERS)" /Users/MacMini/Library/Developer/Xcode/DerivedData/Unity-iPhone-BUNCH OF LETTERS/Build/Products/ReleaseForRunning-iphoneos/JumpingJacks.app/Frameworks/UnityFramework.framework: errSecInternalComponent Command CodeSign failed with a nonzero exit code please could someone help me out, tried redoing certs for both apple.developer and keychain, checked unity iOS player settings, build options etc.
Thank you.
forgot to mention, my game was originally created using a windows computer for android, i copied the file onto usb where i rebuilt using iOS and the in app purchases etc.
Your answer
Follow this Question
Related Questions
iOS Xcode "Could not write to device" 2 Answers
Adding plugins to XCode project from the command line 1 Answer
Xcode on build immediately says "An unknown error occurred" 0 Answers
strange phenomenon after build and run 1 Answer
Have to "Replace" iOS project every build because of Linker Errors 0 Answers