title: iOS Swift: How to build two different .ipa for different countries on the same project
body: <p>I'm writing an iOS app in Swift.
  The app is simple, just a UIWebView connected to an URL.</p>
  
  <pre><code>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.
      }
  
  }
  </code></pre>
  
  <ol>
  <li>I want to keep this in one repository (one project)</li>
  <li><a href="http://A_COUNTRY_URL">http://A_COUNTRY_URL</a> is for the .ipa distributed to A country</li>
  <li>There's another country B needs to be distributed, and the URL is <a href="http://B_COUNTRY_URL">http://B_COUNTRY_URL</a></li>
  <li>The two different .ipa should have two different <strong>Bundle ID</strong></li>
  </ol>
  
  <p>Is it possible to build two different .ipa for one project on Xcode?
  If yes, how to do that?</p>
  
  <p>Thanks in advance.
  Eric</p>