I am new to Phonegap. I have installed phonegap on my mac. I have installed latest xcode also. I am following instruction from http://docs.phonegap.com/en/3.4.0/guide_platf
Update your iOS SDK in your xcode 5. Xcode > Preferences
The issue may with xampp. It may due to the path environment, consider to edit your .profile and put the xampp binary path.
Or try to comment bin like # export /PATH=/Applications/XAMPP/bin:$PATH –
hope this may help you.
Just execute the following command so that the head binary in /usr/bin/
gets preference over the script installed by XAMMP:
export PATH=/usr/bin/:$PATH