Phonegap CDVViewController.h file not found when Archiving for iOS

前端 未结 10 597
青春惊慌失措
青春惊慌失措 2020-11-27 12:57

I\'m currently using Phonegap 2.0 to develop an iOS App in XCode. The app builds and runs fine in the emulator and also on the testing devices.

The problem appears w

10条回答
  •  难免孤独
    2020-11-27 13:34

    Managed to fix it.

    These were missing from "Header Search Path" in the build setting of my TARGET settings:

    "$(TARGET_BUILD_DIR)/usr/local/lib/include"
    "$(OBJROOT)/UninstalledProducts/include"
    "$(BUILT_PRODUCTS_DIR)"
    

    Get the solution form multiple sources:

    Upgrading Cordova iOS (Stepts from 31) http://docs.phonegap.com/en/2.0.0/guide_upgrading_ios_index.md.html#Upgrading%20Cordova%20iOS

    Bug report https://issues.apache.org/jira/browse/CB-1122

    Discussion at groups.google.com/forum/?fromgroups=#!topic/phonegap/IcR8-ijrUfk

    Discussion at groups.google.com/forum/?fromgroups=#!topic/phonegap/PzqZEm8QKmc

提交回复
热议问题