[ https://issues.apache.org/jira/browse/CB-5497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833453#comment-13833453 ]
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 http://stackoverflow.com/questions/11961032/xcrun-error-could-not-stat-active-xcode-path-volumes-xcode-xcode45-dp1-app-c No idea how I managed to mess up my Xcode install, but I can confirm that the solution there (sudo xcode-select -switch /Applications/Xcode.app) solves my issue. Now the docs work as expected! Very sorry for the false alarm! Closing this out. > [TypeError: Cannot call method 'split' of undefined] when adding ios platform > ----------------------------------------------------------------------------- > > Key: CB-5497 > URL: https://issues.apache.org/jira/browse/CB-5497 > 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 (4G2008a) > Reporter: webchick > > Following the directions under > http://cordova.apache.org/docs/en/3.2.0/guide_cli_index.md.html#The%20Command-Line%20Interface > gives me: > $ cordova create hello com.example.hello HelloWorld > Creating a new cordova project with name "HelloWorld" and id > "com.example.hello" at location "/Users/webchick/hello" > $ 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 (v6.1#6144)