我使用以下视频配置ios设置。
http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfmobiledeployios.html
但是,当我在设备中部署应用程序时,我会收到以下错误。
[03:27:06 PM] xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
[03:27:06 PM] Command-line execution failed (Return code: 0)
[03:27:06 PM] Deployment cancelled.
[03:27:06 PM] ---- Deployment incomplete ----.
[03:27:06 PM] Failed to package the XCode application.
[03:27:06 PM] Failed to build the iOS application bundle.
[03:27:06 PM] Deployment failed due to one or more errors returned by '/usr/bin/xcrun'. The following is a summary of the returned error(s):
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode.app/Contents/Developer'. (No such file or directory)
答案 0 :(得分:0)
当您尝试部署时,文件系统上出现/ Volumes / Xcode不存在。更重要的是,将Xcode置于“卷”目录下表示您已将xcode.dmg文件作为挂载安装到文件系统上,而不是实际安装在您的文件系统上。
我犯了类似的错误,因为/ Volumes / Xcode目录在我身上消失了一晚。要安装到系统上,请将xcode.dmg文件拖到应用程序文件夹中。你可以从那里使用xcode。
将Xcode安装到应用程序目录后,请仔细检查您的JDeveloper iOS设置“工具>首选项> ADF Mobile>平台”。确保SDK和xCode目录正确无误。
谢谢,