问题
I want to create a watch app for an existing iOS app.
But I am in a situation that i don't own a apple watch and my existing iOS app will run only on real devices not on simulator.
Is it possible to run the app on the iphone device and test my watch app in the watch simulator?
回答1:
Pairing a real iPhone and a Watch simulator is not possible at least at the moment. I make this conclusion because of 3 reasons:
- A Watch simulator automatically pairs to an iPhone simulator during the installation process.
- It is not possible to unpair a Watch simulator from the interface at all.
- Bluetooth is not accessible on a simulator to communicate with real devices. Here's a proof.
来源:https://stackoverflow.com/questions/32734358/can-a-real-ios-device-and-watch-simulator-communicate-for-testing-purposes