0

我已经从http://phonegap.com/下载了 phonegap-2.7.0 ,但是我不知道如何安装它,(有一个 Makefile,但是在终端中执行“make”命令时没有任何反应,我已经退出了xcode),有人能帮我吗?

4

1 回答 1

4

http://docs.phonegap.com/en/2.7.0/guide_getting-started_ios_index.md.html

These instructions are pretty clear, even if the directory tree you get after extracting the zip file is not exactly the one they show.

After installing all the requirements:

  • extract the content of phonegap-2.7.0.zip wherever you want
  • go to lib/ios/bin and run the 'create' command with the suggested parameters.
  • open the finder and go to the directory you used as first parameter of the 'create' command
  • doubleclick the file with extension xcodeproj to open XCode and the project will be automatically created

To open the finder in the right folder you can use the command line:

open ~/workspace/yourProject

or

cd ~/workspace/yourProject
open `pwd`

my 2c

于 2013-05-07T23:53:36.197 回答