PhoneGapのインストール
- 2011年 5月26日(木) 13:13 JST
- 投稿者: akira
- 表示回数 104
パッケージを突っ込む
パッケージの内容
uninstall方法も書かれている。
This installer will only install items under your home folder (signified by ~)
Items that will be installed:
(1) Xcode global var in ~/Library/Preferences/com.apple.Xcode.plist (which will be listed under Xcode Preferences -> Source Trees)
(2) PhoneGap Xcode static library and static framework project under ~/Documents/PhoneGapLib
(3) Xcode 3 project template in ~/Library/Developer/Xcode/Project Templates/PhoneGap
(4) Xcode 4 project template in ~/Library/Application Support/Developer/Shared/Xcode/Templates/Project Templates/Application
(5) PhoneGap Xcode static framework under /Users/Shared/PhoneGap/Frameworks/PhoneGap.framework (may change in future updates)
(6) Symlink to the framework in (5) under ~/Library/Frameworks
To uninstall:
(1) Remove the PHONEGAPLIB value in Xcode Preferences -> Source Trees
(2) Delete the ~/Documents/PhoneGapLib folder
(3) Delete the ~/Library/Application Support/Developer/Shared/Xcode/Project Templates/PhoneGap folder
(4) Delete the "~/Library/Application Support/Developer/Shared/Xcode/Templates/Project Templates/Application/PhoneGap-based Application.xctemplate" folder
(5) Delete the /Users/Shared/PhoneGap/Frameworks/PhoneGap.framework folder
(6) Delete the ~/Library/Frameworks/PhoneGap.framework symlink
Thanks for installing PhoneGap!
XCODE 3
-------------
To get started creating PhoneGap projects, launch Xcode 3, then under the File menu, select "New Project...".
Navigate to the "User Templates" section, select PhoneGap, then in the right pane, select "PhoneGap-based Application"
Select the "Choose..." button, name your project and choose the location where you want the new project to be.
That's it! Modify the contents of the "www" directory to add your HTML, CSS and Javascript.
XCODE 4
-------------
To get started creating PhoneGap projects, launch Xcode 4, then under the File menu, select "New Project...".
Navigate to the "iOS" section, select Application, then in the right pane, select "PhoneGap-based Application"
Select the "Next" button, name your project and bundle identifier, then select the "Next" button and choose the location where you want the new project to be.
*IMPORTANT*: On first run, it will create a sample "www" folder for you inside your project. After that, you MUST drag and drop the "www" folder into your project in Xcode, to create a folder reference for it.
That's it! Modify the contents of the "www" directory to add your HTML, CSS and Javascript.
http://www.phonegap.com
http://github.com/phonegap/phonegap-iphone