I'm writing an iOS app in Swift. The app is simple, just a UIWebView connected to an URL.
class ViewController: UIViewController {
@IBOutlet weak var customWebView: UIWebView!
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup after loading the view, typically from a nib.
if let url = NSURL(string: "http://A_COUNTRY_URL") {
let request = NSURLRequest(URL: url)
customWebView.loadRequest(request)
}
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
}
Is it possible to build two different .ipa for one project on Xcode? If yes, how to do that?
Thanks in advance. Eric
In this tutorial, Ray Wenderlich http://www.raywenderlich.com/68613/create-paid-lite-version-iphone-app explains how to make two versions of an app, one paid and one lite using differents targets as better approach.
Hope it helps!