The iOS backend for Crosswalk application command line tools to create and package Crosswalk iOS applications.
iOS backend only works on Mac OS X. The following components are required:
-
Xcode 7 above * Install Xcode through Mac App Store
-
Node.js and NPM * Use HomeBrew or MacPorts to install Node.js and NPM.
-
Git & Ruby * Should be pre-installed on your Mac already.
-
CocoaPods * Install CocoaPods through ruby gem:
sudo gem install cocoapods
.
In order to get the crosswalk-app
script available everywhere, global NPM installation is required.
npm install -g crosswalk-app-tools
npm install -g crosswalk-app-tools-backend-ios
For the detailed usage, please refer to the Usage
section in Crosswalk App tools.
To create an iOS project, use:
crosswalk-app create <package-id> --platforms=ios Create project <package-id>
for platform iOS.
- Clone App Tool:
git clone https://github.com/crosswalk-project/crosswalk-app-tools.git
- Install App Tool's dependencies:
cd crosswalk-app-tools
npm install
- Install iOS backend:
cd node_modules
git clone https://github.com/crosswalk-project/crosswalk-app-tools-ios.git crosswalk-app-tools-backend-ios
cd crosswalk-app-tools-backend-ios
npm install
cd ../..
- The main script is
crosswalk-app-tools/src/crosswalk-app
. Add it into PATH environment variable, or invoke the script within the directory path.
Crosswalk App Tools iOS Backend is available under the Apache V2 license. See the LICENSE file for more info.