I'm hoping to get an early start with Swift 3 renamification and related language changes by trying to compile my iOS projects under a toolchain, but it appears from https://github.com/apple/swift that "The Xcode IDE can be used to edit the Swift source code, but it is not currently fully supported as a build environment for SDKs other than OS X". And indeed, when using the toolchain, I can build a new OS X application project but not a new iOS project. Is there any way that I can do this, or am I just out of luck for now?
Solved this by commenting out `@UIApplicationMain` and inserting a _main.swift_ file with these contents:
import UIKit
UIApplicationMain(
Process.argc, nil, nil, NSStringFromClass(AppDelegate)
)It isn't strictly right, but it's enough to prevent the compiler from crashing, and presto, we're running in the Simulator on the toolchain.