In this recipe, we will continue the process started in the two recipes prior to this one and build our application for both development and distribution to the iTunes store.
Tip
Remember, if all else fails, you can always build your application manually in XCode by navigating to the build/iphone
folder of your project and opening the XCode project file.
Building your application for development.
Open your project in Titanium Studio; we are using the
LoanCalc
app from Chapter 1 as an example, however, you may use any project you wish. Ensure that the Application ID in Titanium Studio (on the Edit tab) matches the ID you used when creating your provisioning profiles. In our case, this ID iscom.packtpub.loancalc
.Switch across to the Test & Package tab, and choose Run on Device. Titanium Studio should automatically have the iPhone option highlighted. If it doesn't, then you either aren't on a Mac (required) or perhaps don't have the...