> On Aug 30, 2016, at 4:41 PM, Rick Mann <rm...@latencyzero.com> wrote:
> 
> Here's the situation. I've got a Swift app that I've developed in Xcode 
> 7/Swift 2.2. Using the legacy compatibility mode, I can try build it in Xcode 
> 8, but unfortunately, a lot of the iOS API has changed (e.g. optionality has 
> changed), requiring me to make breaking source code changes.

Well, that sucks … I assume the iOS 9 SDK isn’t available in Xcode 8? I wonder 
if anyone’s tried splicing it in from a copy of Xcode 7. (The way that SDKs are 
hardwired into Xcode is awful, and this is a great example of why.)

There’s some limited conditional compilation (#if) support in Swift, but IIRC 
you can’t conditionalize on the OS version, only on the version of the Swift 
language.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to