Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apple watch simulator issue

I am trying to debug and run the app on apple watch simulator. I have tried by using different target for notification, Glance and Watch app but apple simulator don't shows any thing.. It stuck in waiting for attach process of extension. I just see a black screen for the Apple Watch Simulator.

What did I do wrong?

How to overcome this issue ?

enter image description here

like image 246
NSAnant Avatar asked Nov 29 '14 11:11

NSAnant


People also ask

How do I open my Apple Watch simulator?

Go to Open Developer Tool, and Simulator. The simulators will open, and you can get rid of the Welcome screen. Click on your simulator, go to Hardware, Device, and under iOS select the iPhone 8 Plus simulator. Then go to Hardware, Device, watchOS, and pick the Apple Watch Series 3 - 42 mm.

How do I add an Apple 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 an Apple Watch simulator?

But if you'd just like to play around with the interface, we can help you out, thanks to this new online Apple Watch simulator. Created by the team behind the news app Pipes, DemoAppleWatch.com lets you play around with a virtual Apple Watch, complete with a Digital Crown and 15 apps to play with.

Why is my Apple Watch showing no SIM card?

It sounds like your customers had an issue where the Apple Watch showed no SIM. There are a few steps they could try to resolve the issue. Update iPhone. Update your iPhone, iPad, or iPod touch Update Apple Watch. Update your Apple Watch Update carrier settings. Update your carrier settings on your iPhone or iPad Set up the Cellular account again.

Why is my Apple Watch app not working on iPhone?

Open up the Apple Watch app on your iPhone, go to My Watch > General > Software Update, and make sure it’s up to date. Try removing and reinstalling the app (s) that are causing issues. Open up the Apple Watch app on your iPhone, tap on the problematic app, and toggle Show App on Apple Watch to off.

How to fix watchOS update not working on Apple Watch?

If the software update has not yet started on the Apple Watch, launch the Watch app on your iPhone and head to General. Now, tap on ‘Usage and select Software Update,’ delete the update file, and try to download and install the watchOS update again. 14. Unexpected Apps Crashing

How to fix app crashing on Apple Watch?

Mostly, you can resolve app crashing on Apple Watch by updating the app. Launch App Store on your Apple Watch and then scroll down to the bottom. Now, tap on Account and select Updates. Next, tap on Update next to a specific app or tap Update All to update all the apps.


2 Answers

This post from the dev forums solved my issue. More specifically, this excerpt:

  • In order for Watch apps to function properly, certain properties must match across the Watch app and its App Extension (18857540):
  • The WKAppBundleIdentifier property of NSExtensionAttributes in the WatchKit App Extension’s Info.plist must match the CFBundleIdentifier of WatchKit App's Info.plist.
  • The WKCompanionAppBundleIdentifier property of the WatchKit App's Info.plist must match the CFBundleIdentifier of the Containing iOS App's Info.plist.
like image 100
Lizza Avatar answered Oct 01 '22 10:10

Lizza


I have exactly same problem. I created a new project and added WatchKit extension in Xcode 6.2 beta 4 with WatchKit. I tried all ways mentioned in other answers but still failed to let watch app run in the simulator. Finally, I made it work.

My steps:

  1. Delete the containing app in the iPhone simulator.
  2. Clean your project in Xcode.
  3. Do not run the containing app, run the WatchKit app from Xcode.
like image 43
Vince Yuan Avatar answered Oct 01 '22 10:10

Vince Yuan