Running the Logon Application on iOS

Deploy and run the Logon project on iOS.

  1. In a terminal window, make sure you are in the project folder and execute the command:
    cordova prepare ios
  2. Open Xcode.
  3. In a Finder window, browse to your Cordova project folder, <Project Name>/platforms/ios.
  4. Double-click the <ProjectName>.xcodeproj file to open the project in Xcode.
  5. Add the clienthubEntitlements and $(CFBundleIdentifier) keychain groups to the Capabilities (Xcode 5) or Entitlements section of the project.
    This shows an example:
    clienthubkeychain
  6. The Afaria client is opened after calling sap.Logon.init(...), but can be disabled by modifying the file MAFLogonManagerOptions.plist. In Xcode, locate this file under Resources > MAFLogonManagerNG.bundle > MAFLogonManagerOptions.plist, and set keyMAFUseAfaria to false.
  7. Select your Simulator type and click the Run button.
Related tasks
Running the Kapsel Application on Android
Running the Kapsel Application on iOS