2016-06-21 48 views
1

我在JDeveloper到iOS刺激器中部署移動應用程序框架(MAF)應用程序時遇到問題。是MAF應用程序部署到Jdeveloper中的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版本和模擬器,然後單擊確定。

問題是,我無法獲取模擬器的列表來選擇,安裝了Xcode。請參見screenshot這些選項出現在「部署配置文件」對話框中。

我已經安裝了MAF擴展爲正確JDeveloper和還我使用以下軟件:
OS X埃爾卡皮坦版本10.11.5
的Oracle JDeveloper版本12.2.1.0.0
的Xcode 7.3.1版

請幫我部署應用程序到iOS模擬器。
謝謝。

+0

請告訴我如何在設置部署配置文件時獲取模擬器列表。 – Arpit

+0

當您添加依賴關係時,通常會部署配置文件。 –

+0

爲什麼無法運行程序**「/ Users/msm/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/iOS/maf-helper」:error = 13,權限被拒絕「** – Arpit

回答

0

嘿,Xcode的問題,它似乎不活躍等。 因此,我在終端中運行了命令「sudo xcode-select -s /Applications/Xcode.app」,並且獲取了模擬器列表,並且能夠使用iPhone9.3設置部署配置文件,並且應用程序已部署。 謝謝Anand Raj的幫助。

0

請添加依賴項。 按照步驟操作。選擇ViewController項目屬性。然後選擇依賴關係。點擊「+」按鈕並在ApplicationController下選擇「Build Output」,其他選項是檢查安裝的xcode版本是否正確。

+0

感謝您的回覆,增加了依賴關係,但是問題仍然存在 部署日誌仍然和以前一樣 – Arpit

+0

是否有模擬器列表? –

+0

不,我沒有得到它們請告訴我如何獲取他們 – Arpit

相關問題