MCPcopy Index your code
hub / github.com/apache/cordova-ios

github.com/apache/cordova-ios @8.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 8.0.0 ↗ · + Follow
195 symbols 423 edges 123 files 65 documented · 33% 4 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Cordova iOS

NPM

Node CI codecov.io

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).

Requirements

Create a Cordova project

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

Updating a Cordova project

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

Debugging in Xcode

Import project in Xcode through File > Open and targeting /path/to/your-cdv-project/platforms/ios/App.xcworkspace.

How to Test Repo Development

npm install
npm test

Install Nightly Build

cordova platform add ios@nightly

Notes

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.

Further reading

Extension points exported contracts — how you extend this code

Navigator (Interface)
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE f
types/index.d.ts

Core symbols most depended-on inside this repo

updateProject
called by 38
lib/prepare.js
addPlugin
called by 23
lib/Api.js
colorPreferenceToComponents
called by 21
lib/prepare.js
run
called by 20
lib/Api.js
isSwiftPackagePlugin
called by 16
lib/SwiftPackage.js
parseBuildFlag
called by 15
lib/build.js
mapIconResources
called by 14
lib/prepare.js
copyFile
called by 14
lib/plugman/pluginHandlers.js

Shape

Function 141
Method 30
Class 23
Interface 1

Languages

TypeScript93%
C++7%

Modules by API surface

lib/prepare.js38 symbols
lib/Api.js22 symbols
lib/run.js10 symbols
lib/create.js10 symbols
lib/check_reqs.js10 symbols
lib/simctlHelper.js9 symbols
lib/plugman/pluginHandlers.js9 symbols
lib/build.js9 symbols
cordova-js-src/exec.js8 symbols
lib/SwiftPackage.js7 symbols
tests/spec/createAndBuild.spec.js5 symbols
tests/spec/create.spec.js5 symbols

For agents

$ claude mcp add cordova-ios \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact