Tip | ||
---|---|---|
| ||
You need to have Xcode 1.7 or above. Download it from https://developer.apple.com/xcode/download/ or https://itunes.apple.com/en/app/xcode/id497799835?mt=12. |
Follow the instructions below to configure and build the iOS client application:
Compile the Agent source code, which was sent via email by importing it to Xcode.
Info icon false The Agent source was sent to you via email when obtaining the signed CSR file. For more information, see Obtaining the Signed CSR File and P2 Repository.
Export the project as an iOS application. This will generate an
.ipa
file. Rename this file asios-agent.ipa
and move it to the<EMM_HOME>/repository/deployment/server/jaggeryapps/emm-web-agent/public/mdm.page.enrollments.ios.download-agent/asset
directory.Info icon false - Carry out this step to Beta test your iOS apps using the iOS ad-hoc distribution, which generates an ad hoc IPA file. In order to Beta test the apps you have to be enrolled in the Apple Developer Program as an individual or organization.
- The generated IPA file can be distributed as follows:
- Distributing AdHoc IPA file.
- Distributing the IPA file in-house by enrolling with the Apple Developer Enterprise Program.
Optionally, update the iOS server configurations in the
config.json
file, which is in the<EMM_HOME>/repository/deployment/server/jaggeryapps/emm-web-agent/config
directory.Add the
.ipa
file path as the iOS location.- Add the package name as the iOS bundle ID.
- Add the version of the package.
- Add the app name.
Info icon false Use the
bundleid
andversion
defined here when building the product.Code Block { "device": { "ios": { "location": "%https.ip%/mdm/public/asset-download-agent/iOSMDMAgent.ipa", "bundleid": "org.wso2.carbon.emm.iOSMDMAgent", "version": "1.0", "appname": "MDM Agent" } } }
What's next?
Next, configure the iOS Platform Configurations as mentioned in the iOS configurations guide.
...