尝试在物理设备上启动监视工具包应用程序时出现FBSOpenApplicationErrorDomain错误3 [英] FBSOpenApplicationErrorDomain error 3 when trying to launch a watch kit app on a physical device
问题描述
我遇到的问题与此问题中描述的问题相同。但是,这个问题涉及iOS模拟器,而不是物理设备。
I get the same problem that is described in this question. However, that problem dealt with the iOS simulator, not a physical device.
我没有使用iOS模拟器。我正在部署到iPhone + Apple Watch。
I'm not using the iOS Simulator. I'm deploying to an iPhone + Apple Watch.
如果我试图在模拟器上运行它,它可以正常工作。
If I attempt to run it on the simulator, it works just fine.
在在Apple Watch上运行WatchKit App构建步骤中,我收到以下错误:
On the "Running WatchKit App on Apple Watch" build step, I get the following error:
启动WatchKit扩展时出错
无法完成操作。 (FBSOpenApplicationErrorDomain错误3。)
Error Launching 'WatchKit Extension'
The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 3.)
我尝试了什么:
我尝试重置iOS模拟器,然后在设备上运行它(不知道这会有什么帮助),但我仍然收到相同的错误消息。
What I've tried:
I tried reseting the iOS simulator and then running it on the device (not sure how that would help), but I still got the same error message.
我尝试进入iOS设置>常规>设备管理,确保应用已验证。
I tried going in to iOS Settings > General > Device Management and ensuring that the app is "Verified".
重新启动Xcode 也无济于事。
删除应用并重新安装没有帮助。
我尝试过运行iOS应用一次以确保在此方面没有权限问题。
I tried running the iOS app once to ensure there are no permissions issues on that end.
Xcode:7.2
iPhone:iOS 9.2
Apple Watch:watchOS 2.1
Xcode: 7.2
iPhone: iOS 9.2
Apple Watch: watchOS 2.1
推荐答案
这是Apple Watch上的权限问题。
This was a permissions issue on the Apple Watch.
修复:
-
手动启动应用程序(不是通过Xcode中)。
Launch the app once manually (not through Xcode).
您将看到以下消息:
不受信任的App Developer
您是否相信开发人员......在Apple Watch上运行应用程序?
[Trust]
[请勿信任]
Untrusted App Developer
Do you trust the developer "..." to run apps on your Apple Watch?
[Trust]
[Don't Trust]
点击信任。
Tap Trust.
这篇关于尝试在物理设备上启动监视工具包应用程序时出现FBSOpenApplicationErrorDomain错误3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!