设备状态无效 - Xcode / iOS模拟器错误 [英] Invalid Device State - Xcode/iOS Simulator error
问题描述
问题:我无法模拟Apple手表界面。每当我尝试在iPhone 6模拟器上测试我的Apple Watch应用程序时,Xcode成功完成并构建应用程序,尝试打开模拟器并失败并显示错误消息无效设备状态。
Problem: I cannot simulate an Apple watch interface. Whenever I try and test my Apple watch app on the iPhone 6 simulator, Xcode successfully finishes and builds the app, attempts at opening simulator and fails with an error message which reads 'Invalid Device State'.
我相信模拟器有一个手表模拟器,可与兼容的iPhone模拟器模型一起打开,可与Apple手表通信(例如: iPhone 6)虽然我还没有看到它有效。我为iPad和iPhone构建了一个通用接口,为手表构建了另一个接口,因此不应该将应用程序用于错误的设备。每当我在我的实际iPhone上测试时,我都可以成功测试通用接口。
I believe simulator has a watch simulator that opens along with the compatible iPhone simulator models that can communicate with Apple watch (example: iPhone 6) Although I have yet to see it work. I have built a universal interface for iPad and iPhone and another for the watch, so it's not a matter of the app being for the wrong device. Whenever I test on my actual iPhone I can test the universal interface successfully.
我在iMac OS X 10.10.3上使用Xcode 6.2
I'm using Xcode 6.2 on iMac OS X 10.10.3
我试过重启Xcode / Computer。我似乎无法在任何地方找到任何其他提及无效设备状态的信息,希望因为它是一个显而易见的事情来避免/修复我忽略了。任何帮助将不胜感激。
I have tried restarting Xcode/Computer. I can't seem to find any other mention of 'Invalid Device State' anywhere, hopefully due to it being an obvious thing to avoid/fix that I've overlooked. Any help would be appreciated.
推荐答案
强制退出xCode并重启将解决问题。
Force Quit xCode and restart will resolve problem.
这篇关于设备状态无效 - Xcode / iOS模拟器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!