1 person found this helpful
The problem is Phonegap Build doesn't support Cordova hooks, and cordova-plugin-swift-support is basically a big hook.
Thank you jcesarmobile - this will be the problem.
At least we have a path forward now, either phonegap build needs to support cordova hooks or the plugin needs to avoid the use of the hook so it works on phonegap build.
I'll comment on my github issue so that we keep the detail for the plugin in one place.
Hopefully adobe staff can comment on cordova hook support.
cordova-plugin-swift-support is basically hook, there won't be possible for it to not use a hook, what it does can only be achieved with a hook.
The options here are or Phonegap Build supports hooks, or cordova-ios provide a way of setting the swift version and bridging headers from the plugins but without hooks