Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2290

iOS: 'CDVJSON.h' file not found when adding a plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • cordova-ios
    • None

    Description

      cordova version: 2.4.0rc1
      ios version: iOS 6.0 Simulator

      when you add plugin-files to the xcode project ("Add files to ..." on the Plugins folder) or when you create a new plugin in the "Plugins" folder and you run the project an error occurs:

      /../CordovaLib/Classes/CDV.h:57:9: 'CDVJSON.h' file not found

      I tested it with the plugin code from the documentation.

      Attachments

        1. CB2290.png
          101 kB
          Shazron Abdullah
        2. Echo.h
          0.1 kB
          Paul Cervenka
        3. Echo.m
          0.5 kB
          Paul Cervenka

        Activity

          People

            shazron Shazron Abdullah
            paul.cervenka Paul Cervenka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: