Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Tip
titlePrerequisites

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:

  1. Compile the Agent source code, which was sent via email by importing it to Xcode.

    Info
    iconfalse

    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.

  2. Export the project as an iOS application. This will generate an.ipa file. Rename this file as ios-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
    iconfalse
    • 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:
  3. 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
    iconfalse

    Use the bundleid and version 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.

...