Reputation: 131
I'm currently using Xcode 15 (15A240d) and iOS 17.0.3 When trying to connect my iOS device, I get this error message:
This started to happen with my company iPhone when I upgraded to iOS17 and it was working fine with my personal phone. Af first glance I though it happen because it's a managed device, as it looked like a permission issue related with the latest iOS/Xcode versions. But now, it just started to happen in my personal device also... so currently I'm not able to run to any of my devices. Also this is also happening to some of my co-workers, and it's really a annoying situation.
I did not see anything recent regarding this issue on google, so if anyone was some clue on this it would be really appreciated!!
The only post i'm able to find related with this issue is this one: https://developer.apple.com/forums/thread/738712
I've tried all the things here, but I'm still stuck on the same place
Upvotes: 8
Views: 9404
Reputation: 793
I was also getting this error but the issue i was facing was when testing out my unity mobile game. It was trying to launch on my Ipad that was nearby and locked instead of my iphone. I just unpaired my ipad from xcode and it solved the problem.
Upvotes: 0
Reputation: 236
I was facing same issue, all because of folder permission issue, it resolved by running this on terminal sudo chmod a+w /private/var/tmp/
Upvotes: 0
Reputation: 11
In my case, just restarting the iPhone worked, good luck.
Upvotes: 1
Reputation: 31
Disabling and Enabling Developer Mode worked for me. Using Xcode 15.4 and developing for iOS 17.
Upvotes: 3
Reputation: 131
EDIT:
The workaround may work, but I got back to the same point after a few days
Managed to get a workaround working for this, as Xcode15.1 and iOS 17.1 will be out next week, and hopefully it will fix this situation.
For the workaround:
defaults write com.apple.dt.Xcode DVTEnableCoreDevice enabled
You should have something similar to this in your simulator and devices:
There are 2 connected devices, and you should be able to build your app to the CoreDevice one, using Xcode14
P.S. - If this does not work for you try to erase all content and settings and connect again to Xcode14
Upvotes: 0