如果我嘗試在手機上運行我的代碼,我的Xcode會產生問題。命令/ usr/bin/codesign失敗,退出代碼1
CodeSign /Users/fboulegue/Library/Developer/Xcode/DerivedData/Optibelt-Scanner-emdojrjggsstlofztblkozlwqznq/Build/Products/Debug-iphoneos/Optibelt-Scanner.app
cd /Users/fboulegue/Desktop/Optibelt-Scanner
setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign --force --sign "iPhone Developer: fabian boulegue (7U338PL287)" --resource-rules=/Users/fboulegue/Library/Developer/Xcode/DerivedData/Optibelt-Scanner-emdojrjggsstlofztblkozlwqznq/Build/Products/Debug-iphoneos/Optibelt-Scanner.app/ResourceRules.plist --entitlements /Users/fboulegue/Library/Developer/Xcode/DerivedData/Optibelt-Scanner-emdojrjggsstlofztblkozlwqznq/Build/Intermediates/Optibelt-Scanner.build/Debug-iphoneos/Optibelt-Scanner.build/Optibelt-Scanner.xcent /Users/fboulegue/Library/Developer/Xcode/DerivedData/Optibelt-Scanner-emdojrjggsstlofztblkozlwqznq/Build/Products/Debug-iphoneos/Optibelt-Scanner.app
/Users/fboulegue/Library/Developer/Xcode/DerivedData/Optibelt-Scanner-emdojrjggsstlofztblkozlwqznq/Build/Products/Debug-iphoneos/Optibelt-Scanner.app: replacing invalid existing signature
/Users/fboulegue/Library/Developer/Xcode/DerivedData/Optibelt-Scanner-emdojrjggsstlofztblkozlwqznq/Build/Products/Debug-iphoneos/Optibelt-Scanner.app: CSSMERR_TP_NOT_TRUSTED
Command /usr/bin/codesign failed with exit code 1
有沒有想法?
請發表您的代碼 – Verbeia
代碼並不重要@Verbeia – Till