问题描述
Watch App 安装在手表上,我可以在手表上点击并运行它,但是 watchAppInstalled
方法返回 false.
The Watch App is installed on the watch and I can tap and run it on the Watch, but watchAppInstalled
method returns false.
此外,我只能使用 Xcode 7 安装 Watch 应用.如果我尝试通过打开开关使用 Watch iOS 应用(来自 Apple)安装 Watch 应用,则 Watch 应用会在安装完成后立即被删除.
Also, I can only install the Watch App using Xcode 7. If I try to install the Watch App using the Watch iOS app (from Apple) by turning on the switch, the Watch App gets deleted right after the installation completes.
更新:此错误已在 Xcode 7 beta 6 中修复
Update:This bug is fixed in Xcode 7 beta 6
推荐答案
对我有用的是按照@Zubair 的建议将 arm64
架构添加到 Watch 应用和 iOS 应用中.
What worked for me was adding the arm64
architecture to both the Watch app and iOS app as @Zubair suggested.
更新:此错误已在 Xcode 7, beta 6 中修复
Update:This bug is fixed in Xcode 7, beta 6
这篇关于WatchOS 2(测试版 5):watchAppInstalled 返回 false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!