Are you ready for Xcode 11 and iOS 13 Development?

With the release of iOS 13, a lot of mobile developers are going to want to install Xcode 11 side-by-side with Xcode 10. This allows you to continue to test your apps on iOS 12.x simulators as well as testing them on the new iOS 13.x simulators.

Installing Xcode 11

  1. To do this, you will need to download Xcode 11 from Apple’s Developer site: https://developer.apple.com/download/more/
  2. Rename the existing version 10 Xcode.app (in your Applications directory) to Xcode10.app. Now move the newly-downloaded version 11 Xcode.app to your Applications directory.

  3. Download and install Command line tools for Xcode 11 (also found on the Apple Developer site: https://developer.apple.com/download/more/)

  4. Open each of the two different versions of Xcode to make sure that neither requires any other setup. You can then close them after successful open.

Download and install Titanium SDK 8.2.0.GA

Open terminal and execute this command, if you are using the appcelerator CLI tool:

appc ti sdk install 8.2.0.GA

or this command, if you are using the open-source Titanium CLI tool:

ti sdk install 8.2.0.GA

This way, you can now install it using this syntax in your tiapp.xml file:

 <sdk-version>8.2.0.GA</sdk-version>

Building your app with different versions of SDK and Xcode

The following sections describe different targeting scenarios that you may want to run as a developer

Target iOS 13.x simulator from SDK 8.2.x

If you do not already have Xcode 11 selected as active, you will need to run this command:

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

Be sure you have selected the 8.2.x SDK in tiapp.xml

<sdk-version>8.2.0.GA</sdk-version>

Now, you can run this from the root of your Titanium project:

ti build --platform ios

or

appc run --platform ios

Target iOS 12.x simulator from SDK 8.2.x

If you do not already have Xcode 10 selected as active, you will need to run this command:

sudo xcode-select --switch /Applications/Xcode10.app/Contents/Developer

Be sure you have selected the 8.2.x SDK in tiapp.xml

<sdk-version>8.2.0.GA</sdk-version>

Now, you can run this from the root of your Titanium project:

ti build --platform ios

or

appc run --platform ios

Target iOS 13 simulator from pre 8.2.x SDK

If you do not already have Xcode 11 selected as active, you will need to run this command:

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

Be sure you have selected the desired pre 8.2.x SDK in tiapp.xml

<sdk-version>8.1.1.GA</sdk-version>

Now, you can run this from the root of your Titanium project:

ti build --platform ios

or

appc run --platform ios

Target iOS 12 simulator from pre 8.2.x SDK

If you do not already have Xcode 10 selected as active, you will need to run this command:

sudo xcode-select --switch /Applications/Xcode10.app/Contents/Developer

Be sure you have selected the desired pre 8.2.x SDK in tiapp.xml

<sdk-version>8.1.1.GA</sdk-version>

Now, you can run this from the root of your Titanium project:

ti build --platform ios

or

appc run --platform ios

Enjoy adding new iOS 13 features to your Titanium native mobile app!

Axway Titanium supports all of the new iOS 13 features like dark mode and Apple signin with the release of SDK 8.2.0.GA!

4 COMMENTS

  1. Yes, you can say so. But this you can say on the perspective of event app’s feature analysis. Don’t you think so? Once you use a mobile event app, I am sure you will fall in love with it.

Comments are closed.