在将 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
我尝试创建“新部署配置文件”并在第三步中遇到问题,如下所示:
- 转到 JDeveloper>Application>Deploy>New Deployment Profile…
- 选择“MAF for iOS”并单击确定。
- 选择最低 iOS 版本和模拟器,然后单击确定。
问题是安装了 Xcode 后,我无法获得要选择的模拟器列表。请查看此屏幕截图,了解“部署配置文件”对话框中显示的选项。
我已经为 JDeveloper 正确安装了 MAF 扩展,并且我正在使用以下软件:
OS X El Capitan 版本 10.11.5
Oracle Jdeveloper 版本 12.2.1.0.0
Xcode 版本 7.3.1
请帮我将应用程序部署到 iOS 模拟器。
谢谢。