Cordova iOS is an iOS application library that allows for Cordova-based projects to be built for the iOS Platform. Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.
Apache Cordova is a project of The Apache Software Foundation (ASF).
- Xcode 15.x or greater. Download it at the Apple Developer - Downloads or the Mac App Store.
- Node.js 20.5.0 or greater
Follow the instructions in the Create your first Cordova app section of Apache Cordova Docs
To use a shared CordovaLib, for example in development, link the appropriate cordova-ios platform folder path:
cordova platform add --link /path/to/cordova-ios
When you install a new version of the Cordova CLI
that pins a new version of the Cordova-iOS
platform, you can follow these simple upgrade steps within your project:
cordova platform rm ios
cordova platform add ios
Import project in Xcode through File > Open and targeting /path/to/your-cdv-project/platforms/ios/App.xcworkspace
.
npm install
npm test
cordova platform add ios@nightly
Nightly builds are not recommended for production apps. They are intended for testing purposes. This allows users either to check if recent changes in the main branch have fixed existing issues or to identify new bugs before an official release.
Nightly builds are generated daily and may be unstable.
See Apache Cordova - Nightly Builds for more details.