I cannot get an Apple Watch to pair with an iPhone in the simulator even when adding a new device and pairing a watch according to these instructions. I can see from the red disconnected icon at the top of the watch that it's not paired even though Xcode thinks it is? When I tap on the Apple Watch App on the iPhone it says device not paired and to do it in Xcode.
Nothing I've tried has been able to fix including a full reinstall of Xcode. I've also tried deleting derived data as well as everything inside ~/Library/Developer/Xcode/watchOS DeviceSupport.
I also installed the Xcode 10.3 beta yesterday, could this have something to do with it?
Update: I am still not sure what caused the problem but installing Xcode Beta 10.4 fixed this issue for beta version's simulator as well as Xcode 9's simulator. 👍
Related
I had crash reports for iOS 11.4.1 on iPhone 8 Plus, so I installed iOS 11.4 by 'Download Simulators' below the iOS Simulator list. It downloaded and shows a green checkmark as installed.
Although my application supports iOS 10.0 (and I can see iOS 10.3.1 for some simulators) iOS 11.4 does not show up for any of the devices. I restarted the application as well.
Anything I'm missing here?
You can add already installed simulator to the list from following option:
Open Similator list (Right side of project name) -> Add additional simulators:
Tap on + add button to add installed simulators to the list
Go for New Scheme option and add a new scheme. You'll find the newly downloaded simulators. Seems like Xcode bug. I just tried the same which worked.
Trying to start any project for Apple Watch in my XCode 6.3.1 simulation (5/6/6+) and always (for all example project) get "Waiting to attach" and black screen of Apple iWatch simulator. Never see that its working on. Does any one has the same issue?
I have checked also Apple watch simulator issue but did not find any proper solutions.
I have researched into this nasty issue but all I found was issues with iTunes not recognizing a device, or with Xcode having intermittent issues with provisioning the iPhone. In my case nothing helped! I re-installed iTunes, Xcode 6 beta 6 and plugged/unplugged my iPhone 5 after each installation or restart, to no avail. The screen shot below shows my iPhone listed in Devices but it is not listed in the Organizer. Also, any new project I create for the iPhone, it shows my iPhone under "Ineligible Devices" as you can see in the screen shot. I am at a loss what else to try.
Your project's deployment target is probably 8.0 and your device is 7.1.2. Check you Info.plist and make sure it's the same or lower version than your device OS version.
When I connect my iPad with iOS 8.0 to xcode beta 6, I can't find the "Use For Development" button that usually appears when selecting your iPad in the "Devices" window. I reset and wiped my iPad so now I need to set it up again for development use. Anyone know how to do this in the new xcode?
I've seen some buggy things going on with Xcode betas (no surprise). Try unplugging the iPad, restart Xcode, and plug it back in. I would even go as far as a reboot to your machine.
I just updated my iPhone4s to ios7 and xcode to 5.
I am trying to run my app on the iphone which worked for 6.1.x and 4.xx. However,
after the update xcode claims not to find my connected iphone testing my app.
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination?
Window -> Organizer.
Click on device tab.
Click on the iOS device on the left side and click the button 'Use for development'.
Check in Organizer if device is used for development or has lost this property on xcode actualization.
check the organizer like Rauru Ferro said. It might need some time to update the settings in Xcode. You should see a progress bar loading, after that everything should work fine.