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

Patrick Mueller commented on CB-675:
------------------------------------

Sounds reasonable to me, to allow this.

But I'd like to see the use case spelled out a bit more.  Perhaps the "easiest" 
thing from the user's standpoint is to have a separate Xcode template per 
version.  And then how do you uninstall them?  Or are you thinking, once you've 
installed a NEW version of Cordova, you can never create a new project with an 
OLD version, but projects created from an OLD template will continue to work.

In any case, we should consider this use case for the "command line tools", 
especially if those tools can mitigate this problem, to some extent. ie, maybe 
a command line tool to switch the Cordova version is the answer.
                
> Allow multiple versions of PhoneGap to be installed in Xcode
> ------------------------------------------------------------
>
>                 Key: CB-675
>                 URL: https://issues.apache.org/jira/browse/CB-675
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Andrew Trice
>
> There is one thing that is driving me crazy with PhoneGap.  Currently in OSX, 
> the Xcode project always references the machine's PhoneGap library.  For a 
> single project, this is fine.  If you have multiple projects on your machine, 
> and they use different versions of the PhoneGap SDK, then there is no way to 
> easily manage the correct version of the SDK.  Whether your project is 
> PhoneGap 1.5 or 1.7, it will reference the last installed SDK.   If you try 
> and run a PhoneGap 1.5 app on a machine where you last installed the 1.7 RC, 
> then the 1.5 app is likely to have errors (compiler errors from changes in 
> the SDK, as well as JS errors).   It would be great to have either versioned 
> SDK libraries so that you can have multiple PhoneGap versions installed at 
> the same time, or have a reference to the PhoneGap library in each project, 
> so that installing a new SDK doesn't break older projects.   

--
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

        

Reply via email to