Command /usr/bin/codesign failed with exit code 4

I'm trying to buils a mobileTemplate from Unity.


I'm on Mac 10.13

Xcode 9


error

Command /usr/bin/codesign failed with exit code 4


{||||||||||||||||||


CodeSign /Users/bobsmo2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-eiysjyalfuopucejkfvsmyjnjklb/Build/Products/ReleaseForRunning-iphoneos/testUnity.app

cd /Users/bobsmo2015/Documents/bobDesk2015/UnityTest/MobilePlaceholder/testUnity

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: Robert Smolenski (9QB27V7K3L)"

Provisioning Profile: "iOS Team Provisioning Profile: *"

(bf7287bf-006a-4841-8df1-7c1777bdf640)

/usr/bin/codesign --force --sign 339CEC8634D3E394B87F84253815999C4C18F875 --entitlements /Users/bobsmo2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-eiysjyalfuopucejkfvsmyjnjklb/Build/Intermediates.noindex/Unity-iPhone.build/ReleaseForRunning-iphoneos/Unity-iPhone.build/testUnity.app.xcent --timestamp=none /Users/bobsmo2015/Library/Developer/Xcode/DerivedData/Unity-iPhone-eiysjyalfuopucejkfvsmyjnjklb/Build/Products/ReleaseForRunning-iphoneos/testUnity.app

Using auto or manual code signing?


Paid Developer Program account or free provisioning?


What are you building for? Simulator...device...store...?

Command /usr/bin/codesign failed with exit code 4
 
 
Q