因此,當我嘗試從xcode終端創建我的代碼時,它失敗並給我錯誤'Cordova/CDVViewController.h'文件,但找不到當我從xcode構建這個時候,它正在建設得很好。在Xcode終端中運行時未找到'Cordova/CDVViewController.h'文件
在我的Xcode中,我做了整個科爾多瓦子目錄的東西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
有什麼我失蹤?我之所以這樣做是因爲我試圖通過詹金斯來運行這個。我認爲這是一個詹金斯問題,但後來我把它交給了xcode終端,看不到CordovaLib。
不完全相同的問題,因爲涉及Xcode和iOS的不同版本,但這裏是一個非常類似的問題的修復:https://github.com/meteor/meteor/issues/5496 – MastaBaba