1.2 Project Setup

This topic provides information on Project Setup.

Ensure Nodejs Version is >= 12 and latest Xcode version available on AppStore is used.

  1. Extract iOS workspace from installer and place in a folder.
  2. The workspace contains fat xcframeworks for running on devices and simulator both. The same frameworks within the workspace can we used to run on simulator and device as well.
  3. Below are the frameworks present inside the workspace. Verify if these are present before running the application on device or simulator.
    1. OBDXFramework.xcframework
    2. CordovaFramework.xcframework
    3. OBDXExtensions.xcframework
    4. OBDXWatchFramework.xcframework
  4. To run the application, we also need UI for the application. UI can be hosted on the remote server or on local server machine. The UI pointing to remote server, will be served pointing to the remote server URL. UI hosted on local machine will be served using localhost/server IP address.
  5. To enable debugging in network tab, set this property “InspectableWebView” to true in config.xml
  6. Also, refer section: Configurations for the IOS application: for configurations required for the application.
  7. Also, apple certificates and provisioning profiles are needed to run the application on devices. Refer section: Generating Certificates for Development, Production.