| commit | 00d9c6349f7d2957292f5f43455aa8f7e8746e3d | [log] [tgz] |
|---|---|---|
| author | Tobias Bocanegra <tripod@adobe.com> | Mon Nov 16 22:06:30 2015 -0800 |
| committer | Tobias Bocanegra <tripod@adobe.com> | Mon Nov 16 22:06:30 2015 -0800 |
| tree | 72545928070f26ee7f1a67fe95b99c131ed9a397 | |
| parent | 2d3d604ff54ce238658aa1d620833e5965fcac6a [diff] |
simple: CDV.h is not exported
CordovaLib is a framework that enables users to include Cordova in their OS X application projects easily, and also create new Cordova based OS X application projects.
Make sure you have installed the latest released OS X SDK which comes with Xcode 6. Download it at http://developer.apple.com/downloads or the Mac App Store.
Since OSX is not officially released yet, we need to use the development versions of the respective modules where OSX was already added. currently those are:
checkout the master branch of cordova-lib, cordova-plugman, cordova-cli and all the plugins you require
link the development version if cordova-lib to cordova-cli and cordova-plugman (see https://github.com/apache/cordova-lib#setup)
$ cd cordova-lib/cordova-lib $ npm install && npm link $ cd ../../cordova-cli $ npm link cordova-lib && npm install $ cd ../cordova-plugman $ npm link cordova-lib && npm install
(Optionally) Follow the instructions in the Command-Line Usage section of the Cordova Docs to create a new project. For example
$ cordova create hello com.example.hello HelloWorld
add the osx platform:
$ cordova platform add ../cordova-osx $ cordova run osx
You can also open the project in XCode:
$ open platforms/osx/<yourproject>.xcodeproj
if you need the file-plugin add the master branch version, eg:
$ cordova plugin add https://github.com/apache/cordova-plugin-file.git
Download the source
execute the create command to setup an empty project:
$ bin/create <path_to_new_project> <package_name> <project_name>
for example
$ bin/create ../Foo org.apache.foo FooBar
if you need the file-plugin add the master branch version, eg:
$ cordova plugin add https://github.com/apache/cordova-plugin-file.git
When you update to a new Cordova version, you may need to update the CordovaLib reference in an existing project. Cordova comes with a script that will help you to do this.
bin sub-folderupdate /path/to/your/projectNone yet.
File them at the Cordova Issue Tracker