Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent Xcode from preparing Apple Watch when running for iOS

I have an iOS app that I want to test on my personal iOS device. I also wear an Apple Watch that's connected normally to this iPhone.

I have not knowingly created any kind of Apple Watch target or code in my Xcode project. I do not want to run or test the app on my Apple Watch. I have not set up the Apple Watch as some kind of development target in Xcode... it's just connected to my iPhone.

Despite this, Xcode continually tries to ready my Apple Watch for development alongside the iPhone. It delays running the iOS app on the iPhone so that it can "prepare" and "fetch" various things from the Watch. These spinners never end and as a result I am unable to deploy the iOS app to the iPhone.

iPhone is busy: Preparing Apple Watch for development via iPhone

iPhone is busy: Preparing Apple Watch for development via iPhone
Xcode will continue when iPhone is finished.

iPhone is busy: Fetching debug symbols for Apple Watch paired to iPhone

Fetching debug symbols for the watch
Installing Symbols for watchOS 7.4

Apple Watch via iPhone: Failed to prepare device for development.
This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode. You may also need to restart your mac and device in order to correctly detect compatibility.

How can I fully hide this Apple Watch from being seen by Xcode? Disable any kind of development on the Watch? Deploy the iOS app to the iPhone without involving the connected Apple Watch at all?

I'm not interested in "fixing" the errors and warnings... I want the Apple Watch to not be used at all by Xcode.

like image 701
pkamb Avatar asked Sep 13 '25 14:09

pkamb


2 Answers

Found this workaround, worked for me.

  • Unplug iPhone
  • Switch flight mode on the Watch
  • Switch off Bluetooth on the Watch
  • Plug the iPhone back in and build Good luck!

https://developer.apple.com/forums/thread/691452?answerId=704424022#704424022

like image 198
Wesley Barnes Avatar answered Sep 15 '25 04:09

Wesley Barnes


Additionally, make sure you've updated Xcode to a version that supports your iOS/watchOS version (proper SDKs) - I've found this to be necessary to avoid the interminable 'preparing...' phase.

like image 23
coderSeb Avatar answered Sep 15 '25 03:09

coderSeb