Install Xcode 10.3 on macOS 10.13 High Sierra
For some reason, my spare machine doesn't want to upgrade to macOS 10.14 or higher, but because of development, I want to use the latest version of Xcode as much as possible. Unfortunately, Xcode 10.1 is the last version to support High Sierra, so after researching it, I found a way to mess with the forced installation.
Basically, this tutorial is based on this article , but because of my own laziness, I have added some messing elements.
First, go to the Apple developer website to download Xcode 10.3 and put it in /Applications. After downloading, you will find that it cannot be turned on, which is very normal. Then you need to prepare an editor that can open plist files. I personally recommend using this , but Sublime and VSCode should also have plug-ins that can open binary plist, or BBEdit trial version.
Open /Applications/Xcode.app/Contents/Info.plistit, LSMinimumSystemVersionchange 10.13, open it again /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/Info.plist, and repeat the above actions.
Next, the original teaching said to xcodebuildreplace xcodebuild, but I'm getting lazy here and don't want to spend time downloading. So I researched and found that it is the same as the above principle, just change the version number.
Use Hex Fiend to open /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild, search DVTMinimumSystemVersion, there is a place for 10.14 to replace it with 10.13, and save it. But because this will destroy the codesign, we directly remove the codesign, enter it in the terminal, enter codesign --remove-signature /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuildit again sudo /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -license, follow the prompts on the screen, and open Xcode after running. The test compilation and running simulator can be used normally.
Conclusion: messing around and writing articles takes longer than downloading Xcode 10.1.
Side note: Xcode 11 requires Framework 10.14 and cannot use this method.
cost atorvastatin 20mg & lt;a href="https://lipiws.top/"& gt;lipitor canada& lt;/a& gt; order lipitor for sale
Nspvhq
2024-03-10