Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
478 views
in Technique[技术] by (71.8m points)

ios - How to run Xcode 11.4 on macOS Mojave 10.14.6

Background on problem:

I have an iPhone 6s that has updated itself to iOS 13.4. Before the iOS update, I could code + run my app on the device from Xcode, great.

Now I can't run my app from Xcode on the device to test my code, as it says:

Xcode could not locate device support files
This iPhone 6s is running iOS 13.4 (17E255), which may not be supported by this version of Xcode. An updated version of Xcode may be found on the App Store or at developer.apple.com.

So I tried installing the latest Xcode (11.4) which now says I have to update my whole OS to Catalina.

I don't want to do this as my system is working fine and I have heard bad things about that release.

Question:

Is there a way I can get Xcode building to my iPhone without updating my whole OS and potentially screwing up my whole machine?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You cannot run Xcode 11.4 on Mojave but you can add support for iOS 13.4

  • Download the 13.4 image from this repo
  • Quit Xcode
  • Unzip the archive and move the folder into /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
  • Launch Xcode

Consider that this way adds only the support for iOS 13.4, nothing else.

Update: This does not work with iOS 14 because iOS 14 requires Xcode 12.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...