当我试图从Xcode终端构建我的代码时,它失败并给出了一个错误:“未找到Cordova / CDVViewController.h”但是当我从Xcode构建它时,它构建得很好。
在我的Xcode中,我已经完成了整个Cordova子目录的升级,如升级 Cordova所述。此外,当我运行列表时,我看到以下内容:
xcodebuild -list
关于“myProject”项目的信息:
在我的Xcode中,我已经完成了整个Cordova子目录的升级,如升级 Cordova所述。此外,当我运行列表时,我看到以下内容:
xcodebuild -list
关于“myProject”项目的信息:
Targets:
myProject
Build Configurations:
Debug
Release
If no build configuration is specified and -scheme is not passed then "Release" is used.
Schemes:
myProject
CordovaLib
环境:Xcode5,OS 10.8.5
我有什么遗漏吗?我之所以这样做是因为我想通过Jenkins运行它。我原以为这是一个Jenkins的问题,但后来发现问题出在xcode终端无法识别CordovaLib。