Is Xcode 6.3 with Swift 1.0 possible?
Asked Answered
P

2

9

Is it possible to use Xcode 6.3 but stay with Swift 1.0?
Using the iOS 8.2 SDK does not help, and I could not find any switch for the Swift version ...

EDIT: I have an extension build in Swift 1.0 which I do not want to touch, but update my main project

Psychokinesis answered 10/4, 2015 at 6:47 Comment(4)
Why would you need to go back to Swift 1.0?Mou
I don't want to go back - I want to stayPsychokinesis
Stay with the old Xcode, dont update to Xcode 6.3Breadboard
@shmim: You do not have to target 8.3! I have a target of 7.0 for my main app and 8.2 for the Watch.Psychokinesis
O
7

If you're having syntax problem then you can convert it to latest syntax. Also there is no way of using 1.0 in xcode 6.3

enter image description here

Orchardist answered 10/4, 2015 at 6:55 Comment(4)
Thanks, but this will make the review process will Apple painful. I have a WatchKit App in Swift 1.0 and they are very cautious with updates before the Watch launch!Psychokinesis
@Psychokinesis it's always better to adopt changes, you can't defer 1.2 for long. You have to use it at some point. Moreover you can't keep using xcode 6.2. I don't know how big is this for you but that's the interesting & challenging thing for you.Orchardist
I absolutely agree - in general. Right now, there are some time constraints, unfortunatelyPsychokinesis
Then I suggest you to use xcode 6.2, you can download dmg form here.Orchardist
B
1

No, that is not possible. Xcode 6.3 comes with Swift 1.2. If you are concerned about compatibility, you can convert your swift 1.0 code into Swift 1.2 using Xcode 6.3
Edit->Convert->To latest Swift syntax

Breadboard answered 10/4, 2015 at 6:54 Comment(1)
@styler1972: "not guaranteed" is a very positive term for the actual experience :)Psychokinesis

© 2022 - 2024 — McMap. All rights reserved.