title: getting error while creating phonegap app through iOS api command
body: <p>I am newbie in phonegap and I tried to install it on my mac machine but I am getting an error. I am following <a href="http://docs.phonegap.com/en/2.2.0/guide_getting-started_ios_index.md.html" rel="nofollow">this link</a> as reference.</p>
  
  <p>Here is my code which I am running on my mac machine.</p>
  
  <pre><code>./create ~/desktop/hello com.test.hello hello and i am getting error as:
  
  ./create: line 66: dirname: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/replaces: line 28: sed: command not found
  ./create: /Users/administrator/Desktop/phonegap-2.9.0/lib/ios/bin/update_cordova_subproject: /usr/bin/python: bad interpreter: No such file or directory
  </code></pre>
  
  <p>Although the hello.xcodeproj is created at given path but when i try to open it in Xcode getting this error:</p>
  
  <pre><code>Project /Users/administrator/Desktop/hello/hello.xcodeproj cannot be opened because the project file cannot be parsed.
  </code></pre>
  
  <p>Any help will be appreciated.</p>