我正在尝试在Apple Watch上运行WatchKit应用,但每次都会提示无法验证代码签名:
companionappd[153] <Warning>: failed to install WatchKit application, error: (Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)"
UserInfo=0x15ddfba0 {Error=ApplicationVerificationFailed,
ErrorDetail=-402620391,
ErrorDescription=Failed to verify code signature of <MIExecutableBundle :
path = /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.kD3tCX/extracted/com.**.**.watchkitapp.app
identifier = com.**.**.watchkitapp type = 4> : 0xe8008019
(Application signature not valid)})
但我已经尝试了吊销我的当前开发者证书,为应用程序、WatchKit扩展和WatchKit应用程序创建了新的配置文件。我还将Apple Watch设备ID放在此配置文件中。
我已经删除了我的Mac上的所有配置文件,并重新加载了它。
我已经清理了项目,删除了派生数据。
我已经重启了我的Mac。
我已经执行了以下操作:https://dev59.com/r10a5IYBdhLWcg3w3L8-#29857073 以及这个:https://dev59.com/qF0b5IYBdhLWcg3wOvCd#29452435 我已经做了一切!
有人遇到过同样的问题并找到了解决方法吗?我的下一步是对Mac、iPhone和Apple Watch进行干净的安装。但我想找到另一个解决方案! :)
谢谢!