incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-1223) CORDOVALIB Xcode variable - allow this to be read in from xcodebuild cli
Date Fri, 10 Aug 2012 00:09:19 GMT


Shazron Abdullah commented on CB-1223:

My experiments show that it is not possible since if you look in the .pbxproj file, the CordovaLib.xcodeproj
is explicitly linked to a sourceTree location:
01BF52D109A57CC0062928A /* CordovaLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType
= "wrapper.pb-project"; path = CordovaLib.xcodeproj; sourceTree = CORDOVALIB; };

.. thus it will always look in the sourceTree for the location. 

You would think you can set an absolute path, with the $(CORDOVALIB) env variable set:
303A516315D485BD00720ACB /* CordovaLib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType
= "wrapper.pb-project"; name = CordovaLib.xcodeproj; path = "$(CORDOVALIB)/CordovaLib.xcodeproj";
sourceTree = "<absolute>"; };

... but Xcode's project parser does not expand the definition, so the build does not work.

> CORDOVALIB Xcode variable - allow this to be read in from xcodebuild cli
> ------------------------------------------------------------------------
>                 Key: CB-1223
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: iOS
>    Affects Versions: Master
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 2.1.0
> Currently if you pass in a CORDOVALIB variable to xcodebuild it is ignored, it still
tries to read from the Xcode preferences plist and/or the .xcconfig
> This is important for environments (CI) that have multiple versions of Cordova installed
and switch between them through the command-line

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message