Then I rename whichever one I need to simply Xcode, and back again when done. So, in my Applications folder, I have Xcode 7 (renamed to Xcode_7) and Xcode 8 (renamed to Xcode_8). I have a client project that's still using Swift 2.2, and I'm stuck on Xcode 7 for that and using Xcode 8 for anything else. It seems that Xcode really likes to be in the Applications folder and be called Xcode, especially when using xcodebuild (when building for Carthage for example) - and xcode-select doesn't always seem to cut it. So I hope that my this answer might be helpful to somebody else out there! And by seeing the results you will understand that your iOS/iphoneos SDK version depends on changing Command Line Tool ( xcodebuild) setting on your Xcode.Ībove given Apple Downloads link and Oracles MPF blog post links might change and/or unavailable in the future. Above command should print out all the SDK details which your current Xcode configuration uses to build your Apps.On your Terminal issue following command:.How to figure out which version of iOS SDK is being used to build your iOS App? Select the Locations tab and there, you can select all the installed versions of Command Line Tools (which is xcodebuild).Where to set Command Line Tool in Xcode Preference Window? I had to manually select it in Xcode preference window. So obviously the settings for Command Line Tool was selected to use xcodebuild tool from the Old app. Xcode 10 (Old one with iOS12.0 - iphoneos12.0), and Xcode 10.1 (New one with iOS 12.1 - iphoneos12.1). My experience was I've had two Xcode versions. Because along with the Command Line Tool, iOS SDK which is being used to build your app also depends on. The question is what your Terminal and Xcode build command will use to when you are building your iOS App. When you have two versions of Xcode installed, your workstation has two versions of Command Line Tool ( xcodebuild) installed too. Applications/Xcode.app that was just installed to (according to my above given example) /Application/Xcode_7.app
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |