Generate IPA for a Native iOS Application
In addition to creating iPhone and iPad applications directly from source code, you can use Quantum Visualizer to build an iPhone or iPad application and deploy it to a Mac automatically. You need a dedicated Mac to enable creation of iPhone and iPad application binaries.
Important: Currently, Quantum Visualizer supports Xcode 9.0 and later.
Before you begin, ensure that the following conditions are met:
Building an iPhone or iPad application and deploying it to a Mac involves generating an archive file, and then exporting the archive file to an IPA file based on the specified distribution method.
To configure Quantum Visualizer to build an iOS native application on a local machine, follow these steps:
- From the Project menu of Quantum Visualizer, click Settings.
The Project Settings window appears.
- From the navigation pane on the left, expand Native, and click iPhone/iPad.
- Under the Certificates section, in the Build Local settings, specify values for the following fields:
- Development Method: The application's distribution method. The method can be one of the following:
- development: Signs and packages the application for development distribution outside the iOS App Store.
- app-store: Signs and packages the application for distribution in the iOS App Store.
- ad-hoc: Signs and packages the application for ad-hoc distribution outside the iOS App Store.
- enterprise: Signs and packages the application for enterprise distribution outside the iOS App Store.
An archive file is always generated initially using development code signing. Xcode then automatically generates the required development provisioning profiles. For development code signing, you must have a valid development certificate installed in your keychain.
When exporting the archive to an IPA using the development option, Xcode reuses the development certificate and provisioning profile that are used for archive code signing. It is unnecessary to create profiles from the development center and install them on your system.
For app-store, ad-hoc, and enterprise options, make sure that you have a valid developer certificate, distribution certificate, and distribution profile installed on your system. Xcode will not automatically generate these distribution profiles.
- Development Team: Your 10-digit development team identifier obtained from Apple. The Team ID can be found in the Membership Details of your Apple Developer account.
- Keychain Password: The Keychain password for your application. On the iPhone, Keychain rights depend on the provisioning profile used to sign your application. Ensure that you consistently use the same provisioning profile across different versions of your application.
- Once you have configured all the required details, click Done.
You can now build your application for iPhone or iPad which generates the IPA file.
Note: All errors, warnings, and confirmations can be seen on the Console.
Create a remote connection to a Mac device
While making use of the Build Native Locally option to create an iOS native application, if you are using a Windows machine, you can configure Quantum Visualizer to make a remote connection to a Mac machine.
Before you configure the Mac Details, ensure that you have followed the steps mentioned at IPA Generation.
To configure Quantum Visualizer to make a remote connection to a Mac machine, follow these steps:
- In Quantum Visualizer, click Edit > Preferences. The Visualizer Preferences window appears.
- Click the Mac Details tab.
- Under the Mac Details section, enter the following details:
- IP Address: The IP address or domain name of the Mac system in which you want to remotely build and view your application.
- Username: The user name of the Mac system you want to remotely access to build your application.
- Password: The password of the Mac system you want to remotely access to build your application.
- Click Test Connection to validate the connection to the Mac device.
- Click Done.
Enable Data Protection for an iOS App
Data protection is an iOS feature that prevents unauthorized access to the files of an app by encrypting user data. While creating an app, you must specify the level of data protection that you want to apply to the app. There are four levels of data protection (Complete, Complete unless open, Complete until first user authentication, and No protection) that determine when you may access files of the app. If you do not specify a protection level when you create a file, Quantum Visualizer User Guide applies the default protection level automatically.
To enable data protection entitlement for an app in Quantum Visualizer, follow these steps:
Important: Before you start using data protection entitlement for an app, ensure that you have added (or enabled) the data protection capabilities in the provision profile that you have associated with the app.
- From the Workspace folder of the app, navigate to the
- Open the quantum_nitro_configuration.json file.
- Add the Data Protection key, and provide any of the following values to the key, based on the level of data protection that you want to provide for the app:
Here is a sample quantum_nitro_configuration.json file entry that enables complete data protection for the app:
"Data Protection": "NSFileProtectionComplete"
|| © 2020 Temenos. All rights reserved.