cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-9719) Xcode build error in framework with CordovaLib as a dependency
Date Fri, 02 Oct 2015 19:13:27 GMT


ASF GitHub Bot commented on CB-9719:

Github user shazron commented on the pull request:
    However, the side effect of this is, if any modules use the module import syntax, ie `@import
UIKit;` this might break I think, but the workaround there is to use the old import method,
so its fine.
    The final fix would be to make CordovaLib as a module, but that's a lot more work potentially.

> Xcode build error in framework with CordovaLib as a dependency
> --------------------------------------------------------------
>                 Key: CB-9719
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: Master
>            Reporter: Edna Morales
>              Labels: cordova-ios-4.0.x
> 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message