问题
I want to learn ARKit. I got apple's sample code and other sample codes in github.
There is a error, Xcode reports:
/Users/.../ARKitBasics-brwextbgckvaokheuvfoqkacalvx/Build/Products/Debug-iphoneos/ARKitBasics.app/Frameworks/libswiftARKit.dylib: unknown error -1=ffffffffffffffff error: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' 'B8FBC6429C19D8DBEDBAC1BD044D6D4D7B68D1CF' '--verbose'
'/Users/.../ARKitBasics-brwextbgckvaokheuvfoqkacalvx/Build/Products/Debug-iphoneos/ARKitBasics.app/Frameworks/libswiftARKit.dylib'
I guess it is about libswiftARKit.dylib
,I don't know where it is. i found ARKit.framework
.
Any advice or explanation is welcomed. Thanks in advance.
回答1:
Try below command:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k keychainPass keychainPath
keychainPass
is your keychain password;keychainPath
is the file path of your keychain, normally it is~/Library/Keychains/login.keychain
andlogin.keychain-db
- most answers using this command without
codesign:
, this is the tricky part
来源:https://stackoverflow.com/questions/47754076/arkit-code-issue-unknown-error-1-ffffffffffffffff-error-task-failed-with-exit