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-12577) Fix module import warnings when using Cordova.framework (Carthage)
Date Fri, 17 Mar 2017 06:53:41 GMT

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

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

Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-ios/pull/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