How can I maintain iOS version 10.3 with Swift Project 2.3

Good day,

Lastweek I updated my Xcode from 8.2 to 8.3.In my project I was using swift 2.3 version. I tried to use multiple versions of xcode for my Mac, but when I use an older version of Xcode, I cannot run the project on devices with iOS version 10.3.1

I don't know how to run swift 2.3 on iOS 10.3.1

Note. My project is still not uploading to the App Store.

thank

+3


source to share


2 answers


In a note note, it is clear that Xcode 8.3 version no longer

supports Swift 2.3

. Therefore, you need to migrate your projects containing code Swift 2.3

to syntax Swift 3

by opening the project and choosing Edit> Transform> Current Syntax.



+1


source


To run your project on a device (iOS 10.3) using xcode 8.2, you need DeveloperDiskImage for iOS version 10.3.



Download Xcode 8.3.2 from here and copy the 10.3 (14E269) folder inside DeviceSupport from the downloaded Xcode using the path Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ and paste it into Applications / Xcode.app / Content / Developer / Platforms/iPhoneOS.platform/DeviceSupport/ in existing Xcode 8.2 in Finder.

+2


source







All Articles