In AppDelegate.swift, comment out or remove:
//@UIApplicationMain
Create a main.swift that contains:
import Foundation
import UIKit
// Override point for customization after application launch.
PixateFreestyle.initializePixateFreestyle()
UIApplicationMain(C_ARGC, C_ARGV, nil, NSStringFromClass(AppDelegate))
For XCode 6.3 and higher replace the UIApplicationMain
line with:
UIApplicationMain(Process.argc, Process.unsafeArgv, nil, NSStringFromClass(AppDelegate))
And for Cocoapod-based installs (at least) remember to create (and configure in the target Build Settings) a bridging header with the correct import line:
#import <PixateFreestyle/PixateFreestyle.h>