MAF应用程序在Jdeveloper中部署到iOS模拟器

时间:2016-06-21 07:07:08

标签: ios deployment jdeveloper xcode7.3 oracle-maf

在将JDeveloper中的移动应用程序框架(MAF)应用程序部署到iOS刺激器时,我遇到了问题。

部署日志如下:

[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

我尝试创建“新部署配置文件”并在第3步中遇到问题如下:

  1. 转到JDeveloper>应用程序>部署>新部署配置文件...
  2. 选择“MAF for iOS”并单击“确定”。
  3. 选择最低iOS版本和模拟器,然后单击确定。
  4. 问题是我无法在安装了Xcode的情况下选择模拟器列表。请参阅部署配置文件对话框中显示的screenshot选项。

    我已经为JDeveloper正确安装了MAF扩展,我也在使用以下软件:
    OS X El Capitan版本10.11.5
    Oracle Jdeveloper版本12.2.1.0.0
    Xcode版本7.3.1

    请帮我将应用程序部署到iOS模拟器 感谢。

2 个答案:

答案 0 :(得分:0)

请添加依赖项。 按照步骤。选择ViewController项目属性。然后选择依赖项。点击“+”按钮并在Build Output下选择“ApplicationController”,其他选项是检查安装的xcode版本是否正确。

答案 1 :(得分:0)

嘿,Xcode有问题,似乎它没有活动。 所以我运行了一个命令" sudo xcode-select -s /Applications/Xcode.app"在终端和模拟器列表中获取并能够使用iPhone9.3设置部署配置文件并部署应用程序。 感谢Anand Raj的帮助。