Cordova app failing to Archive with Xcode 7.1 (Cordova/CDVViewController.h file not found)

前端 未结 5 1443
广开言路
广开言路 2020-12-13 20:57

I\'ve recently updated my Xcode to version 7.1 (from 7.0.1) and my Cordova app is failing to Archive with the error that says:

\'Cordova/CDVViewContro

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 21:51

    I found a solution on this thread which worked for me with Xcode 7.1 (I was still having problems on OS X El Capitan).

    Gandhi's answer is:

    • Run this in your terminal: cordova platform update ios
    • Open your project in Xcode
    • Go to Preference -> Locations -> Advanced
    • Choose "Unique" as the option for Build Location
    • Product -> Clean
    • Product -> Build

提交回复
热议问题