Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a real iOS device and Watch Simulator communicate for Testing purposes

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?

like image 483
ipraba Avatar asked Sep 23 '15 08:09

ipraba


People also ask

How can I test my iOS app on a real device?

Open up a project in Xcode and click on the device near the Run ▶ button at the top left of your Xcode screen. Plug your iPhone into your computer. You can select your device from the top of the list. Unlock your device and (⌘R) run the application.

How do I connect my iPhone to my watch simulator?

How do I get the watch simulator to appear when I select an iPhone simulator in Device? In the Devices window under Simulators, select an iPhone 5 and later simulator. Under the Paired Watches table, click the Add button (+).

Is there a real iOS emulator?

Xcode has a really good iOS emulator built in for testing purposes and so you can run your app on a virtual device instead of deploying it on a physical device. The best thing about the built in Xcode emulator is the fact that you get access to a variety of devices and screen sizes with different iOS versions.

Can iOS simulator connect to Bluetooth?

7 Answers. Show activity on this post. The simulator does support Bluetooth Low Energy (4.0) according to this appnote from Apple.


1 Answers

Pairing a real iPhone and a Watch simulator is not possible at least at the moment. I make this conclusion because of 3 reasons:

  1. A Watch simulator automatically pairs to an iPhone simulator during the installation process.
  2. It is not possible to unpair a Watch simulator from the interface at all.
  3. Bluetooth is not accessible on a simulator to communicate with real devices. Here's a proof.
like image 64
Dmytro Hutsuliak Avatar answered Oct 29 '22 13:10

Dmytro Hutsuliak