[
https://issues.apache.org/jira/browse/CB-12577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929502#comment-15929502
]
ASF subversion and git services commented on CB-12577:
------------------------------------------------------
Commit d69a42ce9f50fef627fea456365c507f7188ebb9 in cordova-ios's branch
refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=d69a42c ]
CB-12577 - Fix module import warnings when using Cordova.framework (Carthage)
This closes #298
> Fix module import warnings when using Cordova.framework (Carthage)
> ------------------------------------------------------------------
>
> Key: CB-12577
> URL: https://issues.apache.org/jira/browse/CB-12577
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: iOS
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Fix For: [email protected]
>
> Attachments: moduleimport.png
>
>
> When adding {{Cordova.framework}} after adding and building it using
> Carthage, and using module import:
> {code}
> @import Cordova;
> {code}
> then adding this to my code and building:
> {code}
> CDVViewController* cdv = [CDVViewController new];
> {code}
> I get two lexical or preprocessor issue warnings:
> {code}
> <module-includes>:1:1: warning: umbrella header for module 'Cordova' does not
> include header 'CDV.h' [-Wincomplete-umbrella]
> #import "Headers/Cordova.h"
> ^
> <module-includes>:1:1: warning: umbrella header for module 'Cordova' does not
> include header 'CDVCommandDelegateImpl.h' [-Wincomplete-umbrella]
> 2 warnings generated.
> /Users/shazron/Desktop/TestCarthage/TestCarthage/AppDelegate.m:21:24:
> warning: unused variable 'c' [-Wunused-variable]
> CDVViewController* c = [CDVViewController new];
> ^
> 3 warnings generated.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]