Unsupported OS Version In Xcode

Unsupported OS Version In Xcode

Last night I updated my iPhone OS to iOS 15. This morning I plugged my phone into my Macbook Air to work on an app but was unable to run the app on my phone because of the new operating system. The app is targeted to run on my iPhone under iOS Device the my phone’s iOS was listed as unsupported. Specifically Clint’s iPhone (unsupported OS version). This makes sense since I updated the iOS to version 15 but haven’t made any changes locally to support the new version of the software.

Here are the steps I took to get iOS 15 support for my Mac without updating Xcode or the OS.

  1. Open the DeviceSupport folder at Applications/xcode.app/contents/Developer/platform/iPhoneOS.platform/DeviceSupport
    1. Right click the Xcode app and select “Show Package Contents” to get into the XCode.app folder
  2. Download the DeviceSupport folder for iOS 15 (or any other iOS version you might be needing) and place inside the DeviceSupport folder alongside the other supported operating systems
  3. Clean Xcode build folder (Product -> Clean Build Folder)
  4. Delete the DerivedData folder at /Users/[user]/Library/Developer/Xcode/DerivedData
  5. Close Xcode
  6. Unplug and restart your phone
  7. After your phone has restarted, plug it back in and open Xcode. You should now be able to see your phone listed as a supported device with iOS 15.

Many thanks to these Stack Overflow and Apple Developer Forum posts for guiding me through the process.