简体   繁体   中英

Running Apple Watch in iOS simulator issue

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?

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.

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

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

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

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM