Running Apple Watch in iOS simulator issue

馋奶兔 提交于 2019-12-29 05:53:09

问题


I'm trying to run the Apple WatchKit Catalog example code in iOS simulator.

But i have always Apple Watch simulator disabled.

What i have to do?


回答1:


Apple Watch is only supported with iPhone 5 and newer phones. Make sure you are running a simulated device that supports pairing with an Apple Watch.




回答2:


Go here and click on your app name, in my case it is "watch kit test"

Then click on edit scheme and then this view should show up. Make sure to go to executable and click on "yourappname.app

Finally close it and go back to the menu in the first step and click "Your App Name" Watch App

Then run your app in the simulator, and select any of the following iPhones 5/5c/5s/6/6p




回答3:


You need to to Editor > Add Target > Apple Watch.

First, you need to select your root folder in Xcode.

Hope this helps.



来源:https://stackoverflow.com/questions/27005132/running-apple-watch-in-ios-simulator-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!