【发布时间】:2014-01-21 19:35:22
【问题描述】:
我正在尝试使用 PhoneGap 构建一个 helloWorld 应用程序,但它似乎试图找到 .xcodeproj 文件两次。
phonegap 版本:3.3.0-0.18.0
cordova 版本:3.3.1-0.1.2
$ phonegap build ios
[phonegap] detecting iOS SDK environment...
[phonegap] using the local environment
[phonegap] compiling iOS...
[error] An error occurred while building the ios project.xcodebuild: error: 'HelloWorld.xcodeproj.xcodeproj' does not exist.
xcodebuild: error: 'HelloWorld.xcodeproj.xcodeproj' does not exist.
xcodebuild: error: 'HelloWorld.xcodeproj.xcodeproj' does not exist.
当我从 XCode IDE 构建和运行时,它工作正常。
【问题讨论】:
-
您知道创建项目时使用的具体命令吗?我想知道您是否将您的项目命名为“HelloWorld.xcodeproj”
-
cordova create hello com.example.hello "HelloWorld" -
phonegap create hello com.example.hello HelloWorld来自网站docs.phonegap.com/en/edge/… 出现同样的错误