Generate DocBook Mobile content
using terminal run the command
ant mobile.iOS
. This will create html content inside
mobile/wwwdirectory.Requirements :
Xcode 4.x
Intel-based computer with Mac OS X Lion or greater (10.7+)
Necessary for installing on device:
Apple iOS device (iPhone, iPad, iPod Touch)
iOS developer certificate
Install the iOS SDK and Configure PhoneGap :
Install Xcode from the Mac App Store
Necessary PhoneGap packages locate in
mobile/iOS
Setup New Project
Go to
mobile/iOSdirectory.Drag the copied
binfolder to the Terminal.app icon in your Dock, it should launch a new Terminal windowType in ./create <project_folder_path> <bundle_id> <project_name> then press "Enter"
Locate your new project folder that you just created
Launch the
.xcodeprojfile in the folder
Set up DocBook Mobile content
Select the folder named
wwwin the Xcode Project NavigatorReplace this
wwwfolder withmobile/www.
Deploy to Simulator :
Change the Target in the Scheme drop-down menu on the toolbar to your project.
Change the Active SDK in the Scheme drop-down menu on the toolbar to iOS [version] Simulator.
Select the Run button in your project window's toolbar