1

My Mac version is Mojave 14.6, and if I don't upgrade to Catalina, is it possible to debug app on device of iOS 14 on xcode 11?

If not , maybe i won't upgrade my iPhone to iOS 14...

dp0qb
  • 65
  • 1
  • 7

1 Answers1

1

What is important is the version of XCode. If you are using XCode 11, then you can only deploy to iOS 13 or lower. Definitely don't upgrade to iOS 14 if you want to stay with XCode 11.

This is especially important if you are just learning iOS development and your resources and sample code references XCode 11. Upgrading to XCode 12 might make some of the sample code or instructions not work anymore. Best you complete your learning and then upgrade. Once you are proficient, you can upgrade and you should be able to fix any changes necessary to support the new version of XCode. Also possibly the original author will have updated their learning material as well.

Athir Nuaimi
  • 3,214
  • 2
  • 14
  • 17
  • "If you are using XCode 11, then you can only deploy to iOS 13 or lower" — does this apply even if using iOS 14 device support files with Xcode 11? For instance, I can debug on iOS 13.5 with Xcode 11.3.1 after copying device support files from a later version of Xcode (11.4?) that otherwise only runs on Catalina. – Andreas Oct 28 '20 at 20:50
  • 1
    I tried the usual tricks with device support files, but with Xcode 11.7 on Mojave I had no success to debug on iOS 14. Only Xcode 12 works, and it requires Catalina. – LPG Nov 04 '20 at 09:52
  • Thanks @LPG, that's good to know. I didn't see your comment until now — feel free to @-mention me to generate notifications. I'm curious about Xcode 11.7 on Mojave. Here's what Apple says: "Xcode 11.7 requires a Mac running macOS Catalina 10.15.2 or later". How did you get it working on Mojave? – Andreas Nov 06 '20 at 15:54
  • See https://stackoverflow.com/a/63912493/1149188 for running Xcode 11.7 on Mojave. – LPG Nov 27 '20 at 19:38