Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

cordova-plugin-swift-support

bitjson399MIT3.1.1

Add Swift 3 support for Cordova plugins

cordova, ios, swift, swift-support, ecosystem:cordova, cordova-ios, cordova:plugin

readme

Build Status npm npm Dependency Status Commitizen friendly

cordova-plugin-swift-support

swift-128x128

This Cordova plugin adds Swift 3 support to your iOS project.

Installation

You can add this plugin directly to your project:

cordova plugin add cordova-plugin-swift-support --save

Or add it as a dependency into your own plugin:

<dependency id="cordova-plugin-swift-support" version="~3.1.1"/>

If needed, add a prefixed Bridging-Header file in your plugin in order to import frameworks (MyPlugin-Bridging-Header.h, for instance). As an example you can have a look at this plugin.

If the cordova-plugin-swift-support plugin is already installed to your project, then you can add your own Swift plugin as usual, its prefixed Bridging-Header will be automatically found and merged.

License

Developed and originally licensed under the Apache-2.0 license by Alexis Kofman. This fork is maintained by Jason Dreyzehner under the MIT license.

changelog

3.1.1 (2017-02-14)

3.1.0 (2016-10-05)

Features

  • hook: set the new ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES (b23e9a2)

3.0.2 (2016-10-05)

Bug Fixes

  • install: correct plugin ID to avoid warnings during fetch (1301e21)

3.0.1 (2016-10-05)

This release also updates the version in plugin.xml to prevent some unexpected behavior when installing via the CLI.

3.0.0 (2016-10-05)

With this release, this package will begin keeping its version in sync with the Swift version supported.

Features

Notes