简体   繁体   中英

ARKit code issue {unknown error -1=ffffffffffffffff error: Task failed with exit 1}

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.

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 and login.keychain-db
  • most answers using this command without codesign: , this is the tricky part

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM