iOS (15, provided by Xcode, choose default toolchain in Xcode preferences, or Xcode menu -> Toolchains).Simulator - watchOS 8.0 -sdk watchsimulator8.0Īnd relaunch Xcode, and you will be able to choose in the "Base SDK" (akka SDKROOT) build setting of your project: Simulator - tvOS 15.0 -sdk appletvsimulator15.0 Simulator - iOS 15.0 -sdk iphonesimulator15.0 Simulator - iOS 14.5 -sdk iphonesimulator14.5 Simulator - iOS 14.4 -sdk iphonesimulator14.4 % sudo /usr/libexec/PlistBuddy -c "Set :MinimumSDKVersion 14.4" /Applications/Xcode.app/Contents/Developer/Platforms/atform/ist Ok, we need to lower the MinimumSDKVersion: % /usr/libexec/PlistBuddy -c "Print :MinimumSDKVersion" /Applications/Xcode.app/Contents/Developer/Platforms/atform/ist 14:52:25.564 xcodebuild DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneSimulator14.5.sdk its version (14.5) is below required minimum (15.0) for the iphonesimulator platform. 14:52:25.564 xcodebuild DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneSimulator14.4.sdk its version (14.4) is below required minimum (15.0) for the iphonesimulator platform. Then, let's list them : % xcodebuild -showsdks % sudo cp -a /Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneSimulator.sdk /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneSimulator14.5.sdk % sudo cp -a /Applications/Xcode_12.5.1.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneOS.sdk /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneOS14.5.sdk % sudo cp -a /Applications/Xcode_12.4.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneSimulator.sdk /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneSimulator14.4.sdk Note: sudo is only needed if you have installed Xcode from the Mac App Store % sudo cp -a /Applications/Xcode_12.4.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneOS.sdk /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/iPhoneOS14.4.sdk Quit Xcode Copying older SDKs into the latest Xcode Since monterey update does not allow us to use Xcode previous than 13, let's show how to "install previous SDKs" Needed
0 Comments
Leave a Reply. |