
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
cordova-plugin-add-swift-support
Advanced tools
This Cordova plugin adds the Swift support to your iOS project.
You can add this plugin directly to your project:
cordova plugin add cordova-plugin-add-swift-support --save
Or add it as a dependency into your own plugin:
<dependency id="cordova-plugin-add-swift-support" version="2.0.2"/>
By default, the Swift 4 support is added but the legacy version (2.3) can still be configured as a preference, inside the project's config.xml
, within the <platform name="ios">
section:
<preference name="UseLegacySwiftLanguageVersion" value="true" />
Or it is possible to specify the version as following, inside the project's config.xml
, within the <platform name="ios">
section:
<preference name="UseSwiftLanguageVersion" value="5" />
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-add-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.
The src folder contains ECMAScript 2015 source files, the minimum Node.js version is 6
(Boron).
MIT
FAQs
Add Swift support to your iOS plugins
The npm package cordova-plugin-add-swift-support receives a total of 5,812 weekly downloads. As such, cordova-plugin-add-swift-support popularity was classified as popular.
We found that cordova-plugin-add-swift-support demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.