Shazron Abdullah created CB-12577:
-------------------------------------
Summary: 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
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]