Hi,
We are getting error to generate the iOS code while using MABS 6.3.
If Use below plugin version inside swift support plugin:
{
"plugin": {
"url": "https://github.com/DavidSousa/cordova-plugin-add-swift-support#v1.0"
}
Getting "Build failed with the following error: Error installing a Cordova plugin. Due to security concerns, the required dependency for the 'semver' node module in a plugin hook was missing. For more details, check the product documentation on how to ensure your plugins node dependencies." Error.
And If use latest version:
"url": "https://github.com/DavidSousa/cordova-plugin-add-swift-support#v2.0.2"
Running command: git checkout v2.0.2
[Build] Command finished with error code 1: git checkout,v2.0.2
[ERROR] [Build] Error: Failed to fetch plugin https://github.com/DavidSousa/cordova-plugin-add-swift-support via git.
[ERROR] [Build] Either there is a connection problems, or plugin spec is incorrect:
[ERROR] [Build] Error: git: Command failed with exit code 1 Error output:
error: pathspec 'v2.0.2' did not match any file(s) known to git
Build failed with the following error: Error fetching Cordova plugin: https://github.com/DavidSousa/cordova-plugin-add-swift-support.
Please help to share what is the possible solution to build iOS code with this plugin.
Thanks,
Manish
Hi Manish,
Can you please try to use the new github release of the plugin?
Use https://github.com/DavidSousa/cordova-plugin-add-swift-support#v1.1 instead of https://github.com/DavidSousa/cordova-plugin-add-swift-support#v1.0.
If it works fine I'll release a new version in the Forge.
David
Please check my answer in the other forum post you created: https://www.outsystems.com/forums/discussion/67469/semver-cordova-plugin-add-swift-support-getting-issue-while-generating-ios/
Cheers
Hi David,
Thank You, Yes it was working with new version.