Older versions of Xcode, iOS and SWIFT

Hi, and thanks in advance.

Say I made an app years ago with older version of Xcode 7, older version of iOS, swift 1 etc. Now I wanna continue with working on that app, Will I have problems working on it with the newest version of Xcode 10, iOS 12, swift 4, etc ? If so, how will I go about fixing this problem ? will it be better to re do the app from the ground up? Thanks

Replies

There are Swift migrators, but you'll need to climb the ladder if you want to leverage them.


Might not be worth the trouble at this point, tho.


See the Xcode wiki to study what needs what, tool wise.


Basically you'd migrate from Swift 2 to Swift 3 using Xcode 8.x (which won't run on Mojave), then from Swift 3 to Swift 4 using Xcode 9.x, then you can move to Xcode 10.x. Note that migration doesn't necessarily mean clean steps, leaving you to fix whatever the migration tools can't.


See these threads:


You can also expect to deal with a raft of deprecated code. All in all there is no simple answer to your questions as the details depend entirely on your app and your skills.


Good luck.