cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12577) Fix module import warnings when using Cordova.framework (Carthage)
Date Fri, 17 Mar 2017 06:52:41 GMT

    [ 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: cordova-ios@4.4.0
>
>         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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message