cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9719) Xcode build error in framework with CordovaLib as a dependency
Date Mon, 28 Sep 2015 23:34:04 GMT

    [ https://issues.apache.org/jira/browse/CB-9719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934344#comment-14934344
] 

Shazron Abdullah commented on CB-9719:
--------------------------------------

Cordova is not enabled as a module, and was originally only designed to be part of the default
template (as a subproject).
There has been a Proof of Concept to enable this (among other things): https://github.com/shazron/CB-5921

Not sure how much work to add this in cordova-ios 4.0, but definitely 5.x

> Xcode build error in framework with CordovaLib as a dependency
> --------------------------------------------------------------
>
>                 Key: CB-9719
>                 URL: https://issues.apache.org/jira/browse/CB-9719
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: Master
>            Reporter: Edna Morales
>
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message