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

对着背影说爱祢 提交于 2020-01-03 03:22:13

问题


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 and login.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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!