因此,当我尝试从xcode终端构建我的代码时它失败并且给我一个错误的'Cordova/CDVViewController.h'文件找不到但是当我从xcode构建它时它正在构建就好了.
在我的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
Run Code Online (Sandbox Code Playgroud)
环境:Xcode5,OS 10.8.5
有什么我想念的吗?之所以我这样做是因为我试图通过jenkins来运行它.我认为这是一个jenkins问题,但后来我把它归结为没有看到CordovaLib的xcode终端.
我如何克隆并将其放在特定位置?
var git = require('gulp-git');
// Clone a remote repo
gulp.task('clone', function(){
git.clone('https://git-location', './apps/');
});
Run Code Online (Sandbox Code Playgroud)
我一直在看文档,但我找不到任何文档.
以下是运行任务后的输出
[11:17:05] Starting 'clone'...
[11:17:05] Finished 'clone' after 5.76 ms
[11:17:48] Cloning into 'undefined'...
Run Code Online (Sandbox Code Playgroud)
当我运行任务时,它将文件复制到未定义的文件夹中.显然,我做错了什么.任何人都能指出我吗?