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

Austin France edited comment on CB-13483 at 10/25/17 9:19 AM:
--------------------------------------------------------------

{code}
$ cordova create testApp com.redskyit.mobile.testApp testApp
Creating a new cordova project.
$ cd testApp
$ cordova platform add ios
Using cordova-fetch for cordova-ios@~4.4.0
Adding ios project...
Creating Cordova project for the iOS platform:
        Path: platforms/ios
        Package: com.redskyit.mobile.testApp
        Name: testApp
iOS project created with cordova-ios@4.4.0
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project
Installing "cordova-plugin-whitelist" for ios
Adding cordova-plugin-whitelist to package.json
Saved plugin info for "cordova-plugin-whitelist" to config.xml
--save flag or autosave detected
Saving ios@~4.4.0 into config.xml file ...
$

$ npm ls -g |grep cordova
├─┬ cordova@7.0.1
│ ├─┬ cordova-common@2.0.3
│ │ ├── cordova-registry-mapper@1.1.15
│ ├─┬ cordova-lib@7.0.1
│ │ ├─┬ cordova-create@1.1.1
│ │ │ ├── cordova-app-hello-world@3.12.0
│ │ ├─┬ cordova-fetch@1.1.0
│ │ ├─┬ cordova-js@4.2.1
│ │ ├─┬ cordova-serve@1.0.1
{code}


was (Author: mehuge):
{{
$ cordova create testApp com.redskyit.mobile.testApp testApp
Creating a new cordova project.
$ cd testApp
$ cordova platform add ios
Using cordova-fetch for cordova-ios@~4.4.0
Adding ios project...
Creating Cordova project for the iOS platform:
        Path: platforms/ios
        Package: com.redskyit.mobile.testApp
        Name: testApp
iOS project created with cordova-ios@4.4.0
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
project
Installing "cordova-plugin-whitelist" for ios
Adding cordova-plugin-whitelist to package.json
Saved plugin info for "cordova-plugin-whitelist" to config.xml
--save flag or autosave detected
Saving ios@~4.4.0 into config.xml file ...
$
}}

$ npm ls -g |grep cordova
├─┬ cordova@7.0.1
│ ├─┬ cordova-common@2.0.3
│ │ ├── cordova-registry-mapper@1.1.15
│ ├─┬ cordova-lib@7.0.1
│ │ ├─┬ cordova-create@1.1.1
│ │ │ ├── cordova-app-hello-world@3.12.0
│ │ ├─┬ cordova-fetch@1.1.0
│ │ ├─┬ cordova-js@4.2.1
│ │ ├─┬ cordova-serve@1.0.1
}}

> cordova add platform ios adds cordova-ios@4.4.0 not latest
> ----------------------------------------------------------
>
>                 Key: CB-13483
>                 URL: https://issues.apache.org/jira/browse/CB-13483
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: cordova-cli
>    Affects Versions: 7.0.1
>            Reporter: Austin France
>
> $ cordova platform add ios --save
> Using cordova-fetch for ios@~4.4.0
> It does this even when the engine setting for ios in config.xml is set to 
> 4.5.1.
> To get version 4.5.1 (which contains important fixes) I have to remember to
> $ cordova platform add ios@4.5.1 --save



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to