cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9719) Xcode build error in framework with CordovaLib as a dependency
Date Mon, 05 Oct 2015 06:30:26 GMT

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

ASF GitHub Bot commented on CB-9719:
------------------------------------

Github user shazron commented on the pull request:

    https://github.com/apache/cordova-ios/pull/170#issuecomment-145442229
  
    Regarding the xcconfig - for command line builds, anything set by the xcconfig flag should
override everything. This is what the setting from the man page for xcodebuild says:
    ```
    -xcconfig filename
               Load the build settings defined in filename when building all targets.  These
set-
               tings will override all other settings, including settings passed individually
on
               the command line.
    ```
    
    So I'm confused, unless Xcode 7 has a bug in it. Couldn't verify unless we have a test
project to get the failure case, and to test a fix.
    
    Thanks for investigating this. Like you said, try setting CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES
= YES in build.xcconfig to see if it fixes your problem?. build.xcconfig is the base xcconfig
for all Build Configurations.


> 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
>            Assignee: 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
(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