[
https://issues.apache.org/jira/browse/CB-9917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah reopened CB-9917:
----------------------------------
Checked in the change but cloning from remote had the same modified changes.
Tested using local, which made me think the fix was ok
> Failure: cordova platform add
> https://github.com/apache/cordova-ios.git#tagOrBranch
> -----------------------------------------------------------------------------------
>
> Key: CB-9917
> URL: https://issues.apache.org/jira/browse/CB-9917
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Reporter: Shazron Abdullah
> Assignee: Shazron Abdullah
> Priority: Blocker
> Labels: cordova-ios-4.0.x
>
> {code}
> $ cordova platform add https://github.com/apache/cordova-ios.git#3.9.2
> --verbose
> Executing "before_platform_add" hook for all plugins.
> git cloning: https://github.com/apache/cordova-ios.git#3.9.2
> Running command: git clone https://github.com/apache/cordova-ios.git
> /Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542
> Command finished with error code 0: git
> clone,https://github.com/apache/cordova-ios.git,/Users/shazron/.cordova/lib/tmp/tmp_cordova_git_9521_1446245518542
> Running command: git checkout 3.9.2
> Command finished with error code 1: git checkout,3.9.2
> git: Command failed with exit code 1 Error output:
> error: Your local changes to the following files would be overwritten by
> checkout:
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-40.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/[email protected]
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-568h@2x~iphone.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-667h.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-736h.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x~ipad.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Landscape~ipad.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x~ipad.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default-Portrait~ipad.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default@2x~iphone.png
>
> bin/templates/project/__PROJECT_NAME__/Images.xcassets/LaunchImage.launchimage/Default~iphone.png
> Please, commit your changes or stash them before you can switch branches.
> Aborting
> Cloning failed. Let's try handling it as a tarball
> Error: CordovaError: Failed to fetch platform
> null@https://github.com/apache/cordova-ios.git#3.9.2
> Probably this is either a connection problem, or platform spec is incorrect.
> Check your connection and platform name/version/URL.
> Error: Cordova library "null" not recognized.
> at
> /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/src/cordova/platform.js:283:25
> at _rejected
> (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at
> /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when
> (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch
> (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at
> /Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush
> (/Users/shazron/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:355:11)
> {code}
> cordova --version
> {code}
> 5.3.4-dev ([email protected])
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]