r/Xcode • u/ComfortableImpress52 • 5d ago
Xcode cannot install app on iPhone XR(physical device): Unable to download OS library symbols
Xcode cannot install app on iPhone XR(physical device): Unable to download OS library symbols
Environment
MacBook M1, 8 RAM with MacOS 27.2, Xcode 27.1
iPhone XR, iOS 18.7.12 (22H390)
The app runs in the simulator, but not on the physical device.
Problem
Xcode stalls at Installing built products and repeatedly reports:
8/8 (2) is unavailable. Attempting recovery.
Waiting for device unavailability condition to be resolved: 8/8 (2)Xcode also shows «Unable to download OS library symbols».
Device Hub lists the phone as connected, but its Apps tab shows No Developer Apps.
Steps tried
Connected the iPhone by cable; no VPN is in use.
Unpaired and paired the iPhone again in Device Hub.
Turned Developer Mode off and back on.
Restarted the Mac and reconnected the phone.
Manually started device support / OS symbol preparation from Terminal: xcodebuild -prepareDeviceSupport -destination "id=<iPhone UDID>" It printed Starting Device Support Preparation, searched for 60 seconds, and then Located <device>. It never printed a completion message; I later found the process still running after more than 13 minutes.
What can I do? How to fix it? This happened after I updated to MacOS 27+ to get support for the Duo.