【发布时间】:2013-11-12 18:27:29
【问题描述】:
因此,当我尝试从 xcode 终端构建我的代码时,它失败并给我一个错误,即找不到“Cordova/CDVViewController.h”文件,但是当我从 xcode 构建它时,它构建得很好。
在我的 Xcode 中,我完成了整个 Cordova 子目录 Upgrade 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。
【问题讨论】:
-
不是完全相同的问题,因为涉及不同版本的 Xcode 和 iOS,但这里有一个非常相似的问题的修复:github.com/meteor/meteor/issues/5496
标签: xcode cordova jenkins terminal xcode5