cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-9917) Failure: cordova platform add https://github.com/apache/cordova-ios.git#tagOrBranch
Date Fri, 30 Oct 2015 23:02:27 GMT
Shazron Abdullah created CB-9917:
------------------------------------

             Summary: 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: CordovaLib
            Reporter: Shazron Abdullah
            Priority: Blocker


{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/icon-40@2x.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-50@2x.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-60@2x.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-60@3x.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-72@2x.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-76@2x.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small@2x.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon-small@3x.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon.png
	bin/templates/project/__PROJECT_NAME__/Images.xcassets/AppIcon.appiconset/icon@2x.png
	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 (cordova-lib@5.3.4-dev)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message