-
Notifications
You must be signed in to change notification settings - Fork 18
Deploying to iOS for testing
place-my-order is an application that demonstrates all of the features of DoneJS, including deploying to mobile platforms like iOS. We haven't published place-my-order to the App Store (yet) so to test it out on your device follow these steps.
In order to test on iOS you need to enroll in the Apple Development Program and create a provisioning profile in the iOS Provisioning Portal.
Once you've become a member you can deploy your DoneJS application to iOS by following these steps:
-
Download the latest release from our release page. Download the link labeled Source code. If you have been building the application yourself following the guide you can use that as well.
-
Install all dependencies needed for the project and run a build to create the iOS app.
npm install donejs build cordova
-
Use a USB cable to plugin your iOS device into your Mac.
-
In XCode open the Cordova project. It will be located at:
YOURAPP/build/cordova/platforms/ios/YOURPROJECT.xcodeproj
-
Select Product -> Scheme -> YOURPROJECT
-
Select Product -> Destination --> YOUR DEVICE
-
Select Product -> Run. This will build and start the application on your device.