You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/07/17 16:17:33 UTC
[jira] [Commented] (CB-886) Change Xcode CordovaLib (sub)project
format to support easy header inclusion
[ https://issues.apache.org/jira/browse/CB-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416234#comment-13416234 ]
Shazron Abdullah commented on CB-886:
-------------------------------------
This was specifically done to ease the upgrade of plugins, so instead of:
{code}
#ifdef CORDOVA_FRAMEWORK
#import <Cordova/CDV.h>
#else
#import "CDV.h"
#endif
{code}
You would just have:
{code}
#import <Cordova/CDV.h>
{code}
There is an upgrade step in a project setting however, to support this, which will be in the Upgrade Guide.
> Change Xcode CordovaLib (sub)project format to support easy header inclusion
> ----------------------------------------------------------------------------
>
> Key: CB-886
> URL: https://issues.apache.org/jira/browse/CB-886
> Project: Apache Cordova
> Issue Type: Improvement
> Components: iOS
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Fix For: 2.0.0
>
> Attachments: Step1.png, Step2.png
>
>
> See: http://www.blog.montgomerie.net/easy-xcode-static-library-subprojects-and-submodules
> Right now, the import looks like this:
>
> #import "CDV.h"
> We want:
> #import <Cordova/Cordova.h>
> I believe from reading the article this is possible with the sub-project, without the tedium of modifying your User Header Paths project value, just by drag and dropping the sub-project in, you get this support.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira