Errors from Cordova with Meteor launching command “meteor run ios”


#1

Hello,
in my Meteor project (1.5 version) when i run it for ios rise an error from Cordova related to ZeroConf.swift file. I can’t imagine what to do…

$ meteor run ios

Errors executing Cordova commands:

While running Cordova app for platform iOS with options --emulator:
Error: Command failed: /Users/stefano/WebstormProjects/DigiloadIos/src/.meteor/local/cordova-build/platforms/ios/cordova/run --emulator
** BUILD FAILED **

The following build commands failed:
CompileSwift normal x86_64 /Users/stefano/WebstormProjects/DigiloadIos/src/.meteor/local/cordova-build/platforms/ios/Digiload/Plugins/cordova-plugin-zeroconf/ZeroConf.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)


#2

I’m not sure, but you might have to add patch the Swift bridging header to combine 3rd party Cordova plugins based on Swift with Meteor’s own Swift code. Unfortunately, Meteor doesn’t merge the Swift bridging headers itself.