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

Xcode build error in framework with CordovaLib as a dependency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Master
    • None
    • cordova-ios

    Description

      We have a .framework that depends on CordovaLib and has an import statement in one of our header files:
      #import <Cordova/CDVViewController.h>

      We get an error when we build the application:
      Include of non-modular header inside framework module 'IBMMobileFirstPlatformFoundationHybrid.WLCordovaAppDelegate'

      I'm not getting an error with any other import statements like:
      #import <UIKit/UIKit.h>

      If I change the project setting 'Enable Modules (C and Objective-C)' to No, the error goes away

      Attachments

        Activity

          People

            eymorale Edna Morales
            eymorale Edna Morales
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: