Arpit Arpit - 1 year ago 126
iOS Question

MAF application Deployment to iOS simulator in Jdeveloper

I am facing problems while deploying the Mobile Application Framework(MAF) application in JDeveloper to iOS stimulator.

The logs for deployment are as follows:

[11:25:18 AM] ---- Deployment started. ----
[11:25:18 AM] Target platform is (iOS).
[11:25:18 AM] Beginning deployment of MAF application 'ISSCMobile15.0' to iOS using profile 'iOS1'.
[11:25:18 AM] Checking to detect whether a partial deployment can be done.
[11:25:18 AM] The referenced iOS simulator, "FirstAvailable" is not available.
[11:25:18 AM] Detected: Full deployment is needed
[11:25:18 AM] Capturing initial file state of the MAF application.
[11:25:19 AM] Verifying this is a MAF application...
[11:25:19 AM] Verifying existence of the .adf source directory of the MAF application...
[11:25:19 AM] Verifying Application Controller project exists...
[11:25:19 AM] Verifying application dependencies...
[11:25:19 AM] Deployment cancelled.
[11:25:19 AM] Deployment cancelled.
[11:25:19 AM] ---- Deployment incomplete ----.
[11:25:19 AM] Failed deployment to iOS simulator. Encountered exception: An error occurred while trying to determine if Xcode is installed..
[11:25:19 AM] An error occurred while trying to determine if Xcode is installed.
[11:25:19 AM] Cannot run program "/Users/msm/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/iOS/maf-helper": error=13, Permission denied
[11:25:19 AM] error=13, Permission denied

I tried creating the “New Deployment Profile” and facing problem in 3rd step as follows:

  1. Going to JDeveloper>Application>Deploy>New Deployment Profile…

  2. Choosing “MAF for iOS” and click ok.

  3. Selecting Minimum iOS version and Simulator and clicking ok.

The problem is that I am not able to get the list of Simulators to select, having Xcode installed. Please see this screenshot of what options appears in the Deployment Profile dialog box.

I have installed the MAF extension correctly for JDeveloper and also I am using following softwares:

OS X El Capitan version 10.11.5

Oracle Jdeveloper version

Xcode version 7.3.1

Please help me deploy the application to iOS simulator.


Answer Source

Please add dependency. follow the steps. select ViewController project properties. then select dependencies. click on "+" button and select "Build Output" under ApplicationController other option is to check whether the xcode version installed is correct.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download