问题描述
Watch App已安装在手表上,我可以在Watch上点击并运行它,但是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 App.如果尝试通过打开开关使用Watch iOS应用程序(来自Apple)安装Watch App,Watch App将在安装完成后立即删除.
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的建议,在Watch应用程序和iOS应用程序中都添加了arm64
体系结构.
What worked for me was adding the arm64
architecture to both the Watch app and iOS app as @Zubair suggested.
更新:此错误已在Xcode 7(测试版6)中修复
Update:This bug is fixed in Xcode 7, beta 6
这篇关于WatchOS 2(测试版5):watchAppInstalled返回false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!