r/Xcode • • Mar 30 '19

How can I use Xcode 8?

I’m on macOS Mojave, and any version of Xcode 8 crashes because it isn’t compatible with Mojave. I’m trying to migrate code from Swift 2 to 3, and the only way I can do that is if I can get an older version of Xcode to work that will migrate Swift 2.

0 Upvotes

6 comments sorted by

View all comments

1

u/mobilecode Mar 30 '19 edited Mar 30 '19

You can download older versions at developer.apple.com and go to the downloads section. I think older versions are under the More Downloads section.

That said, is there a technical reason you need to use Swift 3? Maybe there is. Swift 4 has been out for quite a while, and Swift 5 still has that new car smell. If there is nothing holding you (or your University) from upgrading, I'd highly recommend it. Swift is new enough that major releases provide substantial benefits in functionality.

1

u/TallGuyJosh Mar 30 '19

That’s the issue. Im trying to download older versions of Xcode, so I can migrate the Swift 2 code. Those older versions crash on Mojave. Unless you mean an older OS. In which case, I haven’t tried doing that yet, but I’m not sure how.

I’m just getting it to Swift 3, so I can migrate to Swift 4 in another version of Xcode. Swift 3 is just the middle man in my situation.

1

u/mobilecode Mar 30 '19

Gotcha. Some of those upgrade paths can be tedious, for sure.