Dear Aditya,
It seems like your application is indeed using a reference of the swift support plugin or there is any other component, which is used in your application, where the Swift Support plugin is has been added as a reference.
- [2021-01-21T07:17:13.803Z] [ERROR] [Build] No scripts found for hook "before_plugin_add".
- [2021-01-21T07:17:13.803Z] [ERROR] [Build] Calling plugman.fetch on plugin "https://github.com/DavidSousa/cordova-plugin-add-swift-support#v1.0"
- [2021-01-21T07:17:13.803Z] [ERROR] [Build] Fetching plugin "https://github.com/DavidSousa/cordova-plugin-add-swift-support" via git clone
Now to fix this issue, you have to follow the below steps:
1. Open the swift support plugin and modify the git path in the extensibility configuration of that plugin to the below path:
https://github.com/DavidSousa/cordova-plugin-add-swift-support#v1.1
and publish it. It seems like the plugin is using an old version of code from the git hub. The developer has modified it recently. Please refer to the answer marked as solution at [Swift Support Plugin] [semver] cordova-plugin-add-swift-support getting issue while generating iOS | OutSystems
2. Refresh the dependencies of all other cordova plugins whose reference you are using in your application, as you do not know which component is using the swift support plugin.
3. Refresh the dependency of your main application, publish it and then try to generate the app again.
Hope this helps.
Cheers !
Shounak