cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "webchick (JIRA)" <>
Subject [jira] [Commented] (CB-5497) [TypeError: Cannot call method 'split' of undefined] when adding ios platform
Date Wed, 27 Nov 2013 04:43:37 GMT


webchick commented on CB-5497:

Wow, that was fast! :) Thanks for your help!

In the time between I posted my last comment and I posted this one, I did a Google search
for the xcrun error and came across this

No idea how I managed to mess up my Xcode install, but I can confirm that the solution there
(sudo xcode-select -switch /Applications/ solves my issue. Now the docs work as

Very sorry for the false alarm! Closing this out.

> [TypeError: Cannot call method 'split' of undefined] when adding ios platform
> -----------------------------------------------------------------------------
>                 Key: CB-5497
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>         Environment: OS X 10.8.5, Node.js v0.10.22, Cordova 3.2.0-0.1.0, XCode 4.5.2
>            Reporter: webchick
> Following the directions under
gives me:
> $ cordova create hello com.example.hello HelloWorld
> Creating a new cordova project with name "HelloWorld" and id "com.example.hello" at location
> $ cd hello/
> $ cordova platform add ios
> Checking iOS requirements...
> [TypeError: Cannot call method 'split' of undefined]
> Tried with sudo as well on the off-chance this was a permissions issue, but no dice.

This message was sent by Atlassian JIRA

View raw message