Xcode Server running on a Mac mini can no longer see any iDevices attached to it. Initially was able to see an iPhone 4, but no other devices since. Anyone have any suggestions?
Additional info:
Test Bot is configured to run all Simulators and devices
Test Bot runs in Xcode 6 and completes tests against Simulators but not any devices
iPhone Configuration Utility shows attached iDevices as expected
Xcode 6 on the server (mac mini) can see the attached iDevices
iDevices have the correct provisioning profiles
(possibly related) Server's app icon in the dock has a no go/ stop icon overlaid on it:
For anyone else encountering this issue: my solution was to just delete the XCode server application and reinstall.
Related
I am trying to run my React Native IOS app on my iPhone XS device. iPhone connects to my M1 MacBook pro and I can access the phone but when I try to run the app Xcode complains that the device's developer mode is not enabled. But when I enable the Developer Mode the iPhone doesn't connect to the mac, it appears in the sidebar for a few seconds and then disappears.
Can anyone point out what the issue is? How can I connect the developer-mode enabled iPhone to my M1 Mackbook (Ventura macOS 13.1)?
It's REALLY unintuitive but I was able to get it working by trying to build in XCode using the disabled device. It of course failed, but that caused the Developer Mode option to appear. Then I could turn it on and restart etc. From what I've read, the setting only appears if certain apps require it... or apparently if XCode tries to build a local app...
I have an App on the app store that works fine. Last January ('21) I bought a Macbook Pro M1 (now running Monterey 12.1) and have shifted all my Xcode files to it. Everything builds fine when I have "Any iOS Device (arm64)" selected, or any of the device simulators, but not when I have my MacBook Pro selected as the device to run the app on, nor in either of the two iPhones I can connect via USB. I've been trying for 2 days to get either one of my iPhones (8 plus and 6s, both running iOS 15.2.1) to be recognized by Xcode (13.2.1) and show up in the Device list without any luck. They show up in Apple ID, in Apple Music when plugged in via USB, and pretty much everywhere else, just not in Xcode.
I've tried everything on this SO thread to no avail: Xcode doesn't see my iOS device but iTunes does
I've tried "automatically manage signing", and done it manually. I've unplugged, updated, and restarted in multiple different configurations. I've tried all different types of provisioning profiles. All software versions match each other on all devices and are up to date.
Anyone else experiencing this? I'm totally stumped.
I have been able to build my projects to my iPad air as recently as last week, however, after I tried to turn on connect via network it seems that either the iPad or Xcode has entered a corrupted state.
When connected to Xcode -> window -> devices and simulators
This message <device name> is busy: Preparing debugger support for <device name> will never go away.
When trying to build the project while usb cable is attached:
But it will never finish...
Xcode Version: 10.2.1 (10E1001)
iPad air model: MD788KN/A
iPad Software version: 12.3.1
I have tried rebooting the iPad without any change in behavior, I have also tried to reset all settings Settings -> General -> Reset -> Reset All Settings still no change in behavior.
I have an iPhone 5, another iPad air + an iPad pro frequently connected to my machine with this instance of Xcode. Neither of these devices have any troubles connection or building.
EDIT: and btw, tried the solution from here: Xcode 9 "iPhone is busy: Preparing debugger support for iPhone"
this have been going on for a few days now. waiting 10-15 more minutes will not help.
Some times after rebooting iPad and restarting Xcode I will get past the "waiting for debugger" but instead I will see this error
Even though I have unlocked the device... iTunes even acknowledge it as unlocked and are able to look into the device. Xcode on the other hand still believes that is is locked.
Since updating to Xcode 6.1, I cannot add any iOS devices to run on. Clicking add in the device window only asks to install more simulators. Itunes is 'seeing' the devices connected to the computer, but not Xcode.
Normally the devices I have on hand are an ipad2 running ios 7 and an older ipod touch running ios 5.1. I have set the build targets in the xcode project to include at least ios7.x but still can't see any device.
I have reviewed all my certificates and provisioning profiles in the developer portal. The ones generated by Xcode 6 seem to all start with "XC:..." If I generate and then download any of the older ones, they are greyed out in the add provisioning profile window from devices in Xcode.
Obviously, its critical that I can run on attached devices. Any suggestions would be appreciated.
thanks
r
Go to Windows -> Devices (or ⌘Shift2). Click on the device in the left column, and then "Use for development." If you don't see it there, you may need to restart Xcode, the device, and/or your computer.
I have a developer build, made using iOS 6 library, targeting iOS 4+ devices, and it installs and runs on 4 different iphones, and 2 ipads. But for some reason, on one of the iPhones 4S with iOS 5.1.1, the app starts installing and get stuck at about 50% of the progress bar.
The carrier is Verizon, the phone has been bought this year.
Anyone has any insight?
The UDID of the device might not be present in the provisioning profile you signed with.
I suggest watching the Device Console in the XCode Organizer screen. You'll be able to see any error messages during the install and determine what the issue is. You can watch the console even if you're installing via TestFlight or some other mechansism.
If the device is thousands of miles away :) then you can have the user collect the console logs for you via the iPhone Configuration Utility. Per Apple Docs:
Getting Console Output Without Xcode Sometimes you may have to debug a
problem "in the field", or tell a tester how to gather more
information and send it to you. When installing Xcode isn't an option,
download the iPhone Configuration Utility to save Console output. It
is available for both Mac OS X and Windows.
1) Plug in the device and open iPhone Configuration Utility
2) Select the device under DEVICES in the left-hand column
3) Select the Console tab
4) Press the "Save Console As..." button in the lower right of the
window to export the Console log.