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.