![]() If you're not going to put your app in the App Store, then maybe you could extract the Swift 2.1 toolchain from the Xcode 7.2 bundle and turn it into a. You can download old versions of Xcode here. Note that you'll have to manually open each project in the appropriate version of Xcode. You can keep Xcode 7.2 installed and use it for your non-updated Swift 2.1 projects, and use Xcode 7.3 on new projects. You can have multiple versions of Xcode installed. ![]() So you can either use Xcode 7.2 and continue using Swift 2.1, or you can use Xcode 7.3 and update your code to Swift 2.2. If you're writing an app for the App Store, you can only use a release (non-beta) version of Xcode (see “Submitting Apps to the App Store using Xcode”) and the toolchain supplied with that version of Xcode (see “Using Downloads / Apple Platforms”). Originally I posted this is a comment, but I should have just posted it as an answer: Of Swift that comes included within Xcode. To submit to the App Store you must build your app using the version Reminder: You should reselect "Xcode 8.3.3" option after done playing around Swift 4, as mentioned in Swift - Using Downloads section: Select "Swift Developer Snapshot" and thats it! You might need to reset Xcode after doing the above steps. pkg file.ģ- Run Xcode and then go to: Xcode -> Toolchains -> Manage toolchains.Ĥ- After selecting "Components" - "Toolchains" options, you should see: ![]() Snapshot is a toolchain that you can install into Xcode which contains the latest compiler, leading to let you able to build your app on the latest tools.ġ- Download the latest snapshot (Xcode) from Swift website.Ģ- Install the downloaded snapshot. You can achieve it by installing the latest Snapshot:ĭevelopment Snapshots are prebuilt binaries that are automaticallyĬreated from mainline development branches. ![]() I figured it out that Yes it is possible. Is it possible to compile Latest Swift version on older Xcode?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |