尝试在物理设备上启动手表套件应用程序时出现 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 应用程序"构建步骤,我收到以下错误:
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).
您将看到以下消息:
不受信任的应用开发者
您是否相信开发者..."会在您的 Apple Watch 上运行应用程序?
[信任]
[不要相信]
Untrusted App Developer
Do you trust the developer "..." to run apps on your Apple Watch?
[Trust]
[Don't Trust]
点击信任.
Tap Trust.
这篇关于尝试在物理设备上启动手表套件应用程序时出现 FBSOpenApplicationErrorDomain 错误 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!