cowbell / ionic-geofence

Ionic geofence app example
MIT License
180 stars 92 forks source link

Phonegap build error #30

Open stefanotauriello opened 7 years ago

stefanotauriello commented 7 years ago

I'm trying to build my app with your plugin but it fails. This is the log:

/tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:181:39: error: '=' has been replaced with ':' in attribute arguments @available(*, unavailable, renamed="null") ^ : /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:897:35: error: expected ',' joining parts of a multi-clause condition if let errorValue = error where errorValue.code == ErrorNotExist{ ~^~~~~ , /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1612:21: error: 'SQLiteDB' is inaccessible due to 'private' protection level extension SwiftData.SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1036:19: note: type declared here private class SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1831:21: error: 'SQLiteDB' is inaccessible due to 'private' protection level extension SwiftData.SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1036:19: note: type declared here private class SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1971:21: error: 'SDError' is inaccessible due to 'private' protection level extension SwiftData.SDError { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1603:20: note: type declared here private struct SDError { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:274:26: error: 'ForwardIndexType' has been renamed to 'Comparable' public struct JSONIndex: ForwardIndexType, _Incrementable, Equatable, Comparable { ^~~~ Comparable /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:659:23: error: no type named 'Printable' in module 'Swift' extension JSON: Swift.Printable, Swift.DebugPrintable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:659:40: error: no type named 'DebugPrintable' in module 'Swift' extension JSON: Swift.Printable, Swift.DebugPrintable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:760:1: error: inheritance from non-protocol type 'BooleanType' (aka 'Bool') extension JSON: Swift.BooleanType { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:30:20: error: 'DISPATCH_QUEUE_PRIORITY_DEFAULT' has been renamed to 'DispatchQueue.GlobalQueuePriority.default' let priority = DISPATCH_QUEUE_PRIORITY_DEFAULT ^~~~~~~ DispatchQueue.GlobalQueuePriority.default Dispatch.DISPATCH_QUEUE_PRIORITY_DEFAULT:2:12: note: 'DISPATCH_QUEUE_PRIORITY_DEFAULT' has been explicitly marked unavailable here public var DISPATCH_QUEUE_PRIORITY_DEFAULT: Int { get } ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:185:20: error: 'DISPATCH_QUEUE_PRIORITY_DEFAULT' has been renamed to 'DispatchQueue.GlobalQueuePriority.default' let priority = DISPATCH_QUEUE_PRIORITY_DEFAULT ^~~~~~~ DispatchQueue.GlobalQueuePriority.default Dispatch.DISPATCH_QUEUE_PRIORITY_DEFAULT:2:12: note: 'DISPATCH_QUEUE_PRIORITY_DEFAULT' has been explicitly marked unavailable here public var DISPATCH_QUEUE_PRIORITYDEFAULT: Int { get } ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:352:10: warning: instance method 'locationManager(manager:didUpdateLocations:)' nearly matches optional requirement 'locationManager(:didUpdateLocations:)' of protocol 'CLLocationManagerDelegate' func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:352:10: note: rename to 'locationManager(:didUpdateLocations:)' to satisfy this requirement func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:352:10: note: move 'locationManager(manager:didUpdateLocations:)' to an extension to silence this warning func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:352:10: note: make 'locationManager(manager:didUpdateLocations:)' private to silence this warning func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { ^ private /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:352:10: note: add '@nonobjc' to silence this warning func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { ^ @nonobjc CoreLocation.CLLocationManagerDelegate:5:26: note: requirement 'locationManager(:didUpdateLocations:)' declared here optional public func locationManager( manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:356:10: warning: instance method 'locationManager(manager:didFailWithError:)' nearly matches optional requirement 'locationManager(:didFailWithError:)' of protocol 'CLLocationManagerDelegate' func locationManager(manager: CLLocationManager, didFailWithError error: NSError) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:356:10: note: candidate has non-matching type '(CLLocationManager, NSError) -> ()' func locationManager(manager: CLLocationManager, didFailWithError error: NSError) { ^ ~~~ Error /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:356:10: note: move 'locationManager(manager:didFailWithError:)' to an extension to silence this warning func locationManager(manager: CLLocationManager, didFailWithError error: NSError) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:356:10: note: make 'locationManager(manager:didFailWithError:)' private to silence this warning func locationManager(manager: CLLocationManager, didFailWithError error: NSError) { ^ private /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:356:10: note: add '@nonobjc' to silence this warning func locationManager(manager: CLLocationManager, didFailWithError error: NSError) { ^ @nonobjc CoreLocation.CLLocationManagerDelegate:21:26: note: requirement 'locationManager(:didFailWithError:)' declared here optional public func locationManager( manager: CLLocationManager, didFailWithError error: Error) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:360:10: warning: instance method 'locationManager(manager:didFinishDeferredUpdatesWithError:)' nearly matches optional requirement 'locationManager(:didFinishDeferredUpdatesWithError:)' of protocol 'CLLocationManagerDelegate' func locationManager(manager: CLLocationManager, didFinishDeferredUpdatesWithError error: NSError?) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:360:10: note: candidate has non-matching type '(CLLocationManager, NSError?) -> ()' func locationManager(manager: CLLocationManager, didFinishDeferredUpdatesWithError error: NSError?) { ^ ~~~~ Error? /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:360:10: note: move 'locationManager(manager:didFinishDeferredUpdatesWithError:)' to an extension to silence this warning func locationManager(manager: CLLocationManager, didFinishDeferredUpdatesWithError error: NSError?) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:360:10: note: make 'locationManager(manager:didFinishDeferredUpdatesWithError:)' private to silence this warning func locationManager(manager: CLLocationManager, didFinishDeferredUpdatesWithError error: NSError?) { ^ private /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:360:10: note: add '@nonobjc' to silence this warning func locationManager(manager: CLLocationManager, didFinishDeferredUpdatesWithError error: NSError?) { ^ @nonobjc CoreLocation.CLLocationManagerDelegate:33:26: note: requirement 'locationManager(:didFinishDeferredUpdatesWithError:)' declared here optional public func locationManager( manager: CLLocationManager, didFinishDeferredUpdatesWithError error: Error?) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:364:10: warning: instance method 'locationManager(manager:didEnterRegion:)' nearly matches optional requirement 'locationManager(:didEnterRegion:)' of protocol 'CLLocationManagerDelegate' func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:364:10: note: rename to 'locationManager(:didEnterRegion:)' to satisfy this requirement func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:364:10: note: move 'locationManager(manager:didEnterRegion:)' to an extension to silence this warning func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:364:10: note: make 'locationManager(manager:didEnterRegion:)' private to silence this warning func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) { ^ private /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:364:10: note: add '@nonobjc' to silence this warning func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) { ^ @nonobjc CoreLocation.CLLocationManagerDelegate:17:26: note: requirement 'locationManager(:didEnterRegion:)' declared here optional public func locationManager( manager: CLLocationManager, didEnterRegion region: CLRegion) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:369:10: warning: instance method 'locationManager(manager:didExitRegion:)' nearly matches optional requirement 'locationManager(:didExitRegion:)' of protocol 'CLLocationManagerDelegate' func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:369:10: note: rename to 'locationManager(:didExitRegion:)' to satisfy this requirement func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:369:10: note: move 'locationManager(manager:didExitRegion:)' to an extension to silence this warning func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:369:10: note: make 'locationManager(manager:didExitRegion:)' private to silence this warning func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) { ^ private /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:369:10: note: add '@nonobjc' to silence this warning func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) { ^ @nonobjc CoreLocation.CLLocationManagerDelegate:19:26: note: requirement 'locationManager(:didExitRegion:)' declared here optional public func locationManager( manager: CLLocationManager, didExitRegion region: CLRegion) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:374:10: warning: instance method 'locationManager(manager:didStartMonitoringForRegion:)' nearly matches optional requirement 'locationManager(:didStartMonitoringFor:)' of protocol 'CLLocationManagerDelegate' func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:374:10: note: rename to 'locationManager(:didStartMonitoringFor:)' to satisfy this requirement func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) { ^ ~~~~~~~ didStartMonitoringFor /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:374:10: note: move 'locationManager(manager:didStartMonitoringForRegion:)' to an extension to silence this warning func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:374:10: note: make 'locationManager(manager:didStartMonitoringForRegion:)' private to silence this warning func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) { ^ private /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:374:10: note: add '@nonobjc' to silence this warning func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) { ^ @nonobjc CoreLocation.CLLocationManagerDelegate:27:26: note: requirement 'locationManager(:didStartMonitoringFor:)' declared here optional public func locationManager( manager: CLLocationManager, didStartMonitoringFor region: CLRegion) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:384:10: warning: instance method 'locationManager(manager:didDetermineState:forRegion:)' nearly matches optional requirement 'locationManager(:didDetermineState:for:)' of protocol 'CLLocationManagerDelegate' func locationManager(manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:384:10: note: rename to 'locationManager(:didDetermineState:for:)' to satisfy this requirement func locationManager(manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion) { ^ ~~~~~ for /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:384:10: note: move 'locationManager(manager:didDetermineState:forRegion:)' to an extension to silence this warning func locationManager(manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:384:10: note: make 'locationManager(manager:didDetermineState:forRegion:)' private to silence this warning func locationManager(manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion) { ^ private /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:384:10: note: add '@nonobjc' to silence this warning func locationManager(manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion) { ^ @nonobjc CoreLocation.CLLocationManagerDelegate:11:26: note: requirement 'locationManager(:didDetermineState:for:)' declared here optional public func locationManager( manager: CLLocationManager, didDetermineState state: CLRegionState, for region: CLRegion) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:388:10: warning: instance method 'locationManager(manager:monitoringDidFailForRegion:withError:)' nearly matches optional requirement 'locationManager(:monitoringDidFailFor:withError:)' of protocol 'CLLocationManagerDelegate' func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:388:10: note: candidate has non-matching type '(CLLocationManager, CLRegion?, NSError) -> ()' func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError) { ^ ~~~ Error /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:388:10: note: move 'locationManager(manager:monitoringDidFailForRegion:withError:)' to an extension to silence this warning func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError) { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:388:10: note: make 'locationManager(manager:monitoringDidFailForRegion:withError:)' private to silence this warning func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError) { ^ private /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:388:10: note: add '@nonobjc' to silence this warning func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError) { ^ @nonobjc CoreLocation.CLLocationManagerDelegate:23:26: note: requirement 'locationManager(:monitoringDidFailFor:withError:)' declared here optional public func locationManager(_ manager: CLLocationManager, monitoringDidFailFor region: CLRegion?, withError error: Error) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:23:9: error: cannot invoke 'log' with an argument list of type '(String)' log(message); ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:23:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log(message); ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:33:9: error: 'NSNotificationCenter' has been renamed to 'NotificationCenter' NSNotificationCenter.defaultCenter().addObserver( ^~~~~~~~ NotificationCenter /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:40:9: error: 'NSNotificationCenter' has been renamed to 'NotificationCenter' NSNotificationCenter.defaultCenter().addObserver( ^~~~~~~~ NotificationCenter /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:49:9: error: cannot invoke 'log' with an argument list of type '(String)' log("Plugin initialization") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:49:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Plugin initialization") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:62:9: error: cannot invoke 'log' with an argument list of type '([String])' log(warnings) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:62:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log(warnings) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:63:9: error: cannot invoke 'log' with an argument list of type '([String])' log(errors) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:63:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log(errors) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:68:22: error: 'init(status:messageAsString:)' has been renamed to 'init(status:messageAs:)' result = CDVPluginResult(status: CDVCommandStatus_OK, messageAsString: warnings.joinWithSeparator("\n")) ^ ~~~ messageAs

:0: note: 'init(status:messageAsString:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:68:93: error: 'joinWithSeparator' has been renamed to 'joined(separator:)' result = CDVPluginResult(status: CDVCommandStatus_OK, messageAsString: warnings.joinWithSeparator("\n")) ^~~~~~~~~~~~~~~~~ joined separator: Swift.Sequence:3:17: note: 'joinWithSeparator' has been explicitly marked unavailable here public func joinWithSeparator(_ separator: String) -> String ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:70:22: error: 'init(status:messageAsString:)' has been renamed to 'init(status:messageAs:)' result = CDVPluginResult( ^ :0: note: 'init(status:messageAsString:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:72:54: error: 'joinWithSeparator' has been renamed to 'joined(separator:)' messageAsString: (errors + warnings).joinWithSeparator("\n") ^~~~~~~~~~~~~~~~~ joined separator: Swift.Sequence:3:17: note: 'joinWithSeparator' has been explicitly marked unavailable here public func joinWithSeparator(_ separator: String) -> String ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:76:26: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' commandDelegate!.sendPluginResult(result, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:81:26: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:85:9: error: cannot invoke 'log' with an argument list of type '(String)' log("Ping") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:85:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Ping") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:87:26: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:91:40: error: cannot call value of non-function type 'UIApplication' UIApplication.sharedApplication().registerUserNotificationSettings(UIUserNotificationSettings( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~

/tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:68:43: error: 'NSJSONReadingOptions' has been renamed to 'JSONSerialization.ReadingOptions' public init(data:NSData, options opt: NSJSONReadingOptions = .AllowFragments, error: NSErrorPointer = nil) { ^~~~~~~~ JSONSerialization.ReadingOptions /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:102:72: error: missing argument label 'geoNotification:' in call self.geoNotificationManager.addOrUpdateGeoNotification(JSON(geo)) ^ geoNotification: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:106:39: error: 'sendPluginResult(:callbackId:)' has been renamed to 'send(:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~ send

:0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:104:13: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:104:28: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:106:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:99:9: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_global_queue(priority, 0).asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:99:24: error: 'dispatch_get_global_queue' has been replaced by 'DispatchQueue.global(attributes:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.global Dispatch.dispatch_get_global_queue:2:13: note: 'dispatch_get_global_queue' has been explicitly marked unavailable here public func dispatch_get_global_queue(_ identifier: Int, _ flags: UInt) -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:104:13: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:104:28: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:106:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:116:36: error: 'init(status:messageAsString:)' has been renamed to 'init(status:messageAs:)' let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK, messageAsString: watchedJsonString) ^ ~~~~~~~~~~~~~~~ messageAs :0: note: 'init(status:messageAsString:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:117:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:115:13: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:115:28: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:116:36: error: 'init(status:messageAsString:)' has been renamed to 'init(status:messageAs:)' let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK, messageAsString: watchedJsonString) ^ ~~~~~~~~~~~~~~~ messageAs :0: note: 'init(status:messageAsString:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:117:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:112:9: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_global_queue(priority, 0).asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:112:24: error: 'dispatch_get_global_queue' has been replaced by 'DispatchQueue.global(attributes:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.global Dispatch.dispatch_get_global_queue:2:13: note: 'dispatch_get_global_queue' has been explicitly marked unavailable here public func dispatch_get_global_queue(_ identifier: Int, _ flags: UInt) -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:115:13: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:115:28: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:116:36: error: 'init(status:messageAsString:)' has been renamed to 'init(status:messageAs:)' let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK, messageAsString: watchedJsonString) ^ ~~~~~~~~~~~~~~~ messageAs :0: note: 'init(status:messageAsString:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:117:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:125:67: error: missing argument label 'id:' in call self.geoNotificationManager.removeGeoNotification(id as! String) ^ id: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:129:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:127:13: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:127:28: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:129:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:123:9: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_global_queue(priority, 0).asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:123:24: error: 'dispatch_get_global_queue' has been replaced by 'DispatchQueue.global(attributes:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.global Dispatch.dispatch_get_global_queue:2:13: note: 'dispatch_get_global_queue' has been explicitly marked unavailable here public func dispatch_get_global_queue(_ identifier: Int, _ flags: UInt) -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:127:13: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:127:28: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:129:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:139:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:137:13: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:137:28: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:139:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:135:9: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_global_queue(priority, 0).asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:135:24: error: 'dispatch_get_global_queue' has been replaced by 'DispatchQueue.global(attributes:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.global Dispatch.dispatch_get_global_queue:2:13: note: 'dispatch_get_global_queue' has been explicitly marked unavailable here public func dispatch_get_global_queue(_ identifier: Int, _ flags: UInt) -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:137:13: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:137:28: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:139:39: error: 'sendPluginResult(_:callbackId:)' has been renamed to 'send(_:callbackId:)' self.commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId) ^~~~~~~~~~~~~~~~ send :0: note: 'sendPluginResult(_:callbackId:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:145:9: error: cannot invoke 'log' with an argument list of type '(String)' log("didReceiveTransition") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:145:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("didReceiveTransition") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:150:24: error: missing argument label 'script:' in call evaluateJs(js) ^ script: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:155:9: error: cannot invoke 'log' with an argument list of type '(String)' log("didReceiveLocalNotification") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:155:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("didReceiveLocalNotification") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:156:43: error: cannot call value of non-function type 'UIApplication' if UIApplication.sharedApplication().applicationState != UIApplicationState.Active { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:164:28: error: missing argument label 'script:' in call evaluateJs(js) ^ script: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:172:27: error: 'stringByEvaluatingJavaScriptFromString' has been renamed to 'stringByEvaluatingJavaScript(from:)' uiWebView.stringByEvaluatingJavaScriptFromString(script) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stringByEvaluatingJavaScript from: :0: note: 'stringByEvaluatingJavaScriptFromString' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:172:27: warning: result of call to 'stringByEvaluatingJavaScriptFromString' is unused uiWebView.stringByEvaluatingJavaScriptFromString(script) ^ ~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:177:13: error: cannot invoke 'log' with an argument list of type '(String)' log("webView is nil") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:177:13: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("webView is nil") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:195:17: error: cannot invoke 'log' with an argument list of type '(String)' log("FAKER") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:195:17: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("FAKER") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:198:21: error: cannot invoke 'log' with an argument list of type '(String)' log("FAKER notify chosen, need to pick up some region") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:198:21: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("FAKER notify chosen, need to pick up some region") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:366:31: error: 'GeneratorType' has been renamed to 'IteratorProtocol' public struct JSONGenerator : GeneratorType { ^~~~~~~~~~~~~ IteratorProtocol /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:215:53: error: ambiguous type name 'Generator' in 'JSON' public subscript (position: JSON.Index) -> JSON.Generator.Element { ~~~~ ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:189:22: note: found candidate with type 'JSON.Generator' (aka 'JSONGenerator') public typealias Generator = JSONGenerator ^ Swift.Collection:3:22: note: found candidate with type 'JSON.Iterator' (aka 'IndexingIterator') public typealias Generator = Self.Iterator ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:207:33: error: cannot invoke 'log' with an argument list of type '(String)' log("FAKER Trigger didEnterRegion") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:207:33: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("FAKER Trigger didEnterRegion") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:205:25: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:205:40: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:216:17: error: 'NSThread' has been renamed to 'Thread' NSThread.sleepForTimeInterval(3) ^~~~~~~~ Thread /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:193:10: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_global_queue(priority, 0).asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:193:25: error: 'dispatch_get_global_queue' has been replaced by 'DispatchQueue.global(attributes:)' dispatch_async(dispatch_get_global_queue(priority, 0)) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.global Dispatch.dispatch_get_global_queue:2:13: note: 'dispatch_get_global_queue' has been explicitly marked unavailable here public func dispatch_get_global_queue(_ identifier: Int, _ flags: UInt) -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:205:25: error: 'dispatch_async' has been replaced by instance method 'DispatchQueue.asynchronously(execute:)' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ dispatch_get_main_queue().asynchronously Dispatch.dispatch_async:2:13: note: 'dispatch_async' has been explicitly marked unavailable here public func dispatch_async(_ queue: DispatchQueue, _ block: () -> Swift.Void) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:205:40: error: 'dispatch_get_main_queue()' has been replaced by property 'DispatchQueue.main' dispatch_async(dispatch_get_main_queue()) { ^~~~~~~~~~~~~~~~~~~~~~~~~ DispatchQueue.main Dispatch.dispatch_get_main_queue:2:13: note: 'dispatch_get_main_queue()' has been explicitly marked unavailable here public func dispatch_get_main_queue() -> DispatchQueue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:232:9: error: cannot invoke 'log' with an argument list of type '(String)' log("GeoNotificationManager init") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:232:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("GeoNotificationManager init") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:245:9: error: cannot invoke 'log' with an argument list of type '(String)' log("GeoNotificationManager addOrUpdate") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:245:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("GeoNotificationManager addOrUpdate") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:249:9: error: cannot invoke 'log' with an argument list of type '([String])' log(warnings) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:249:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log(warnings) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:250:9: error: cannot invoke 'log' with an argument list of type '([String])' log(errors) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:250:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log(errors) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:256:9: error: cannot invoke 'log' with an argument list of type '(String)' log("AddOrUpdate geo: \(geoNotification)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:256:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("AddOrUpdate geo: \(geoNotification)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:270:27: error: missing argument label 'geoNotification:' in call store.addOrUpdate(geoNotification) ^ geoNotification: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:278:62: warning: missing '.self' for reference to metatype of type 'CLRegion' if (!CLLocationManager.isMonitoringAvailableForClass(CLRegion)) { ^ .self /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:278:32: error: 'isMonitoringAvailableForClass' has been renamed to 'isMonitoringAvailable(for:)' if (!CLLocationManager.isMonitoringAvailableForClass(CLRegion)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ isMonitoringAvailable for: :0: note: 'isMonitoringAvailableForClass' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:288:49: error: 'AuthorizedAlways' has been renamed to 'authorizedAlways' if (authStatus != CLAuthorizationStatus.AuthorizedAlways) { ^~~~~~~~~~~~~~~~ authorizedAlways :0: note: 'AuthorizedAlways' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:293:74: error: cannot call value of non-function type 'UIApplication' if let notificationSettings = UIApplication.sharedApplication().currentUserNotificationSettings() { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:335:22: error: missing argument label 'id:' in call store.remove(id) ^ id: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:336:41: error: missing argument label 'id:' in call let region = getMonitoredRegion(id) ^ id: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:338:13: error: cannot invoke 'log' with an argument list of type '(String)' log("Stoping monitoring region \(id)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:338:13: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Stoping monitoring region \(id)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:347:13: error: cannot invoke 'log' with an argument list of type '(String)' log("Stoping monitoring region \(region.identifier)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:347:13: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Stoping monitoring region \(region.identifier)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:348:29: error: 'stopMonitoringForRegion' has been renamed to 'stopMonitoring(for:)' locationManager.stopMonitoringForRegion(region) ^~~~~~~~~~~~~~~~~~~~~~~ stopMonitoring for: :0: note: 'stopMonitoringForRegion' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:353:9: error: cannot invoke 'log' with an argument list of type '(String)' log("update location") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:353:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("update location") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:357:9: error: cannot invoke 'log' with an argument list of type '(String)' log("fail with error: \(error)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:357:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("fail with error: \(error)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:361:9: error: cannot invoke 'log' with an argument list of type '(String)' log("deferred fail error: \(error)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:361:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("deferred fail error: \(error)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:365:9: error: cannot invoke 'log' with an argument list of type '(String)' log("Entering region \(region.identifier)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:365:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Entering region \(region.identifier)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:366:25: error: missing argument label 'region:' in call handleTransition(region, transitionType: 1) ^ region: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:370:9: error: cannot invoke 'log' with an argument list of type '(String)' log("Exiting region \(region.identifier)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:370:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Exiting region \(region.identifier)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:371:25: error: missing argument label 'region:' in call handleTransition(region, transitionType: 2) ^ region: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:380:13: error: cannot invoke 'log' with an argument list of type '(String)' log("Starting monitoring for region \(region) lat \(lat) lng \(lng) of radius \(radius)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:380:13: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Starting monitoring for region \(region) lat \(lat) lng \(lng) of radius \(radius)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:385:9: error: cannot invoke 'log' with an argument list of type '(String)' log("State for region " + region.identifier) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:385:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("State for region " + region.identifier) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:389:9: error: cannot invoke 'log' with an argument list of type '(String)' log("Monitoring region " + region!.identifier + " failed " + error.description) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:389:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Monitoring region " + region!.identifier + " failed " + error.description) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:393:49: error: missing argument label 'id:' in call if var geoNotification = store.findById(region.identifier) { ^ id: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:400:13: error: 'NSNotificationCenter' has been renamed to 'NotificationCenter' NSNotificationCenter.defaultCenter().postNotificationName("handleTransition", object: geoNotification.rawString(NSUTF8StringEncoding, options: [])) ^~~~~~~~~~~~~~~~~~~~ NotificationCenter /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:405:9: error: cannot invoke 'log' with an argument list of type '(String)' log("Creating notification") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:405:9: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Creating notification") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:407:59: error: cannot call value of non-function type 'TimeZone' notification.timeZone = NSTimeZone.defaultTimeZone() ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:409:33: error: 'NSDate' is not implicitly convertible to 'Date'; did you mean to use 'as' to explicitly convert? notification.fireDate = dateTime ^ as Date /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:415:40: error: cannot call value of non-function type 'UIApplication' UIApplication.sharedApplication().scheduleLocalNotification(notification) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:434:13: error: cannot invoke 'log' with an argument list of type '(String)' log("Cannot fetch sqlite tables: \(err)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:434:13: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("Cannot fetch sqlite tables: \(err)") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:439:43: error: missing argument label 'sqlStr:' in call if let err = SD.executeChange("CREATE TABLE GeoNotifications (ID TEXT PRIMARY KEY, Data TEXT)") { ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:444:17: error: cannot invoke 'log' with an argument list of type '(String)' log("GeoNotifications table was created successfully") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:444:17: note: overloads for 'log' exist with these partially matching parameter lists: (Float), (Double), (CGFloat) log("GeoNotifications table was created successfully") ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:450:22: error: missing argument label 'id:' in call if (findById(geoNotification["id"].stringValue) != nil) { ^ id: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:451:20: error: missing argument label 'geoNotification:' in call update(geoNotification) ^ geoNotification: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:454:17: error: missing argument label 'geoNotification:' in call add(geoNotification) ^ geoNotification: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:479:47: error: missing argument label 'sqlStr:' in call let (resultSet, err) = SD.executeQuery("SELECT * FROM GeoNotifications WHERE Id = ?", withArgs: [id]) ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:497:48: error: missing argument label 'sqlStr:' in call let (resultSet, err) = SD.executeQuery("SELECT * FROM GeoNotifications") ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:515:35: error: missing argument label 'sqlStr:' in call let err = SD.executeChange("DELETE FROM GeoNotifications WHERE Id = ?", withArgs: [id]) ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:523:36: error: missing argument label 'sqlStr:' in call let err = SD.executeChange("DELETE FROM GeoNotifications") ^ sqlStr: CompileSwift normal arm64 /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift cd /tmp/gimlet/2065222/project /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift -primary-file /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk -I /tmp/gimlet/2065222/project/build -F /tmp/gimlet/2065222/project/build -g -import-objc-header /tmp/gimlet/2065222/project/Ethiconomy/Bridging-Header.h -serialize-debugging-options -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Ethiconomy-generated-files.hmap -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Ethiconomy-own-target-headers.hmap -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Ethiconomy-all-target-headers.hmap -Xcc -iquote -Xcc /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Ethiconomy-project-headers.hmap -Xcc -I/tmp/gimlet/2065222/project/build/include -Xcc -I/tmp/gimlet/2065222/project/build/usr/local/lib/include -Xcc -I/tmp/gimlet/2065222/project/build/UninstalledProducts/include -Xcc -I/tmp/gimlet/2065222/project/build/UninstalledProducts/iphoneos/include -Xcc -I/tmp/gimlet/2065222/project/build -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/DerivedSources/arm64 -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/DerivedSources -Xcc -working-directory/tmp/gimlet/2065222/project -emit-module-doc-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftData~partial.swiftdoc -O -module-name Ethiconomy -emit-module-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftData~partial.swiftmodule -serialize-diagnostics-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftData.dia -emit-dependencies-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftData.d -emit-reference-dependencies-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftData.swiftdeps -o /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftData.o /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:668:36: warning: extraneous duplicate parameter name; 'name' already has an argument label public static func createIndex(name name: String, onColumns: [String], inTable: String, isUnique: Bool = false) -> Int? { ^~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:181:39: error: '=' has been replaced with ':' in attribute arguments @available(*, unavailable, renamed="null") ^ : /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:897:35: error: expected ',' joining parts of a multi-clause condition if let errorValue = error where errorValue.code == ErrorNotExist{ ~^~~~~ , /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1612:21: error: 'SQLiteDB' is inaccessible due to 'private' protection level extension SwiftData.SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1036:19: note: type declared here private class SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1831:21: error: 'SQLiteDB' is inaccessible due to 'private' protection level extension SwiftData.SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1036:19: note: type declared here private class SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1971:21: error: 'SDError' is inaccessible due to 'private' protection level extension SwiftData.SDError { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1603:20: note: type declared here private struct SDError { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1047:23: error: 'COpaquePointer' has been renamed to 'OpaquePointer' var sqliteDB: COpaquePointer = nil ^~~~~~~~~~~~~~ OpaquePointer /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1053:70: error: cannot convert value of type '()' to expected argument type '__OS_dispatch_queue_attr?' let queue = dispatch_queue_create("SwiftData.DatabaseQueue", DISPATCH_QUEUE_SERIAL) ^~~~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1306:40: error: 'COpaquePointer' has been renamed to 'OpaquePointer' func getColumnValue(statement: COpaquePointer, index: Int32, type: String) -> AnyObject? { ^~~~~~~~~~~~~~ OpaquePointer /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:274:26: error: 'ForwardIndexType' has been renamed to 'Comparable' public struct JSONIndex: ForwardIndexType, _Incrementable, Equatable, Comparable { ^~~~~~~~~~~~~~~~ Comparable /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:68:59: error: missing argument label 'sqlStr:' in call error = SQLiteDB.sharedInstance.executeChange(sqlStr) ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:125:58: error: missing argument label 'sqlStr:' in call error = SQLiteDB.sharedInstance.executeChange(sqlStr, withArgs: withArgs) ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:173:68: error: missing argument label 'sqlStr:' in call if let err = SQLiteDB.sharedInstance.executeChange(sqlStr) { ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:175:43: error: 'indexOf' has been renamed to 'index(of:)' if let index = sqlArr.indexOf(sqlStr) { ^~~~~~~ index of: Swift.Collection:3:17: note: 'indexOf' has been explicitly marked unavailable here public func indexOf(_ element: Self.Iterator.Element) -> Self.Index? ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:175:43: error: 'indexOf' has been renamed to 'index(of:)' if let index = sqlArr.indexOf(sqlStr) { ^~~~~~~ index of: Swift.Collection:3:17: note: 'indexOf' has been explicitly marked unavailable here public func indexOf(_ element: Self.Iterator.Element) -> Self.Index? ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:235:68: error: missing argument label 'sqlStr:' in call (result, error) = SQLiteDB.sharedInstance.executeQuery(sqlStr) ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:287:67: error: missing argument label 'sqlStr:' in call (result, error) = SQLiteDB.sharedInstance.executeQuery(sqlStr, withArgs: withArgs) ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:334:63: error: cannot call value of non-function type 'Bool' if let err = SQLiteDB.sharedInstance.openWithFlags(flags.toSQL()) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:376:25: error: value of type 'SwiftData.SQLiteDB' has no member 'escapeValue' return SQLiteDB.sharedInstance.escapeValue(obj) ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:388:25: error: value of type 'SwiftData.SQLiteDB' has no member 'escapeIdentifier' return SQLiteDB.sharedInstance.escapeIdentifier(obj) ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:423:30: error: value of type 'SwiftData.SQLiteDB' has no member 'createSQLTable' error = SQLiteDB.sharedInstance.createSQLTable(table, withColumnsAndTypes: values) ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:468:30: error: value of type 'SwiftData.SQLiteDB' has no member 'deleteSQLTable' error = SQLiteDB.sharedInstance.deleteSQLTable(table) ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:513:40: error: value of type 'SwiftData.SQLiteDB' has no member 'existingTables' (result, error) = SQLiteDB.sharedInstance.existingTables() ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:545:26: error: type 'SwiftData.SDError' has no member 'errorMessageFromCode' return SwiftData.SDError.errorMessageFromCode(code) ~~~~~~~~~~^~~~~~~ ~~~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:683:30: error: value of type 'SwiftData.SQLiteDB' has no member 'createIndex' error = SQLiteDB.sharedInstance.createIndex(name, columns: onColumns, table: inTable, unique: isUnique) ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:728:30: error: value of type 'SwiftData.SQLiteDB' has no member 'removeIndex' error = SQLiteDB.sharedInstance.removeIndex(indexName) ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:773:40: error: value of type 'SwiftData.SQLiteDB' has no member 'existingIndexes' (result, error) = SQLiteDB.sharedInstance.existingIndexes() ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:820:40: error: value of type 'SwiftData.SQLiteDB' has no member 'existingIndexesForTable' (result, error) = SQLiteDB.sharedInstance.existingIndexesForTable(table) ~~~~~~~~~^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:985:60: error: 'NSSearchPathDirectory' has been renamed to 'FileManager.SearchPathDirectory' let docsPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)[0] ^~~~~~~~~~~~~~~~~~~~~ FileManager.SearchPathDirectory /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:988:13: error: 'NSFileManager' has been renamed to 'FileManager' if !NSFileManager.defaultManager().fileExistsAtPath(imageDirPath) { ^~~~~~~~~~~~~ FileManager /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:990:21: error: 'NSFileManager' has been renamed to 'FileManager' try NSFileManager.defaultManager().createDirectoryAtPath(imageDirPath, withIntermediateDirectories: false, attributes: nil) ^~~~~~~~~~~~~ FileManager /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:997:32: error: 'UUIDString' has been renamed to 'uuidString' let imageID = NSUUID().UUIDString ^~~~~~~~~~ uuidString :0: note: 'UUIDString' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1020:60: error: 'NSSearchPathDirectory' has been renamed to 'FileManager.SearchPathDirectory' let docsPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)[0] ^~~~~~~~~~~~~~~~~~~~~ FileManager.SearchPathDirectory /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1025:17: error: 'NSFileManager' has been renamed to 'FileManager' try NSFileManager.defaultManager().removeItemAtPath(fullPath) ^~~~~~~~~~~~~ FileManager /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1208:64: error: 'NSSearchPathDirectory' has been renamed to 'FileManager.SearchPathDirectory' let docsPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)[0] ^~~~~~~~~~~~~~~~~~~~~ FileManager.SearchPathDirectory /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1230:42: error: missing argument label 'sqlStr:' in call if let error = executeChange("BEGIN EXCLUSIVE") { ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1243:39: error: missing argument label 'sqlStr:' in call let error = executeChange("ROLLBACK") ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1253:39: error: missing argument label 'sqlStr:' in call let error = executeChange("COMMIT") ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1258:17: warning: result of call to 'rollbackTransaction()' is unused rollbackTransaction() ^ ~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1268:42: error: missing argument label 'sqlStr:' in call if let error = executeChange("SAVEPOINT 'savepoint\(savepointsOpen + 1)'") { ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1280:34: error: missing argument label 'sqlStr:' in call return executeChange("ROLLBACK TO 'savepoint\(savepointsOpen)'") ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1286:39: error: missing argument label 'sqlStr:' in call let error = executeChange("RELEASE 'savepoint\(savepointsOpen)'") ^ sqlStr: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1335:37: error: 'NSDateFormatter' has been renamed to 'DateFormatter' let dateFormatter = NSDateFormatter() ^~~~~~~~~~~~~~~ DateFormatter /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1358:34: error: missing argument for parameter #3 in call let result = bind(args, toSQL: sql) ^ Darwin.bind:1:13: note: 'bind' declared here public func bind(_: Int32, _: UnsafePointer!, _: socklen_t) -> Int32 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1366:24: error: 'COpaquePointer' has been renamed to 'OpaquePointer' var pStmt: COpaquePointer = nil ^~~~~~~~~~~~~~ OpaquePointer /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1401:34: error: missing argument for parameter #3 in call let result = bind(args, toSQL: sql) ^ Darwin.bind:1:13: note: 'bind' declared here public func bind(_: Int32, _: UnsafePointer!, _: socklen_t) -> Int32 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1409:24: error: 'COpaquePointer' has been renamed to 'OpaquePointer' var pStmt: COpaquePointer = nil ^~~~~~~~~~~~~~ OpaquePointer /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1583:68: error: 'NSSearchPathDirectory' has been renamed to 'FileManager.SearchPathDirectory' let docsPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true)[0] ^~~~~~~~~~~~~~~~~~~~~ FileManager.SearchPathDirectory /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1586:21: error: 'NSFileManager' has been renamed to 'FileManager' if !NSFileManager.defaultManager().fileExistsAtPath(fullPath) { ^~~~~~~~~~~~~ FileManager /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:659:23: error: no type named 'Printable' in module 'Swift' extension JSON: Swift.Printable, Swift.DebugPrintable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:659:40: error: no type named 'DebugPrintable' in module 'Swift' extension JSON: Swift.Printable, Swift.DebugPrintable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:760:1: error: inheritance from non-protocol type 'BooleanType' (aka 'Bool') extension JSON: Swift.BooleanType { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:366:31: error: 'GeneratorType' has been renamed to 'IteratorProtocol' public struct JSONGenerator : GeneratorType { ^~~~~~~~~~~~~ IteratorProtocol /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1630:31: error: use of unresolved identifier 'escapeIdentifier' obj = escapeIdentifier(str) ^~~~~~~~~~~~~~~~ :0: note: did you mean 'NSLocaleIdentifier'? CoreFoundation.CFLocaleIdentifier:1:15: note: did you mean 'CFLocaleIdentifier'? public struct CFLocaleIdentifier : RawRepresentable, _SwiftNewtypeWrapper { ^ :0: note: did you mean 'kCFLocaleIdentifier'? Swift.ObjectIdentifier:5:15: note: did you mean 'ObjectIdentifier'? public struct ObjectIdentifier : Hashable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1636:30: error: value of type 'String' has no member 'substringToIndex' newSql = newSql.substringToIndex(newSql.endIndex.predecessor()) ^~~~~~ ~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1638:27: error: use of unresolved identifier 'escapeValue' obj = escapeValue(objects[bindIndex]) ^~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1695:37: error: 'NSDateFormatter' has been renamed to 'DateFormatter' let dateFormatter = NSDateFormatter() ^~~~~~~~~~~~~~~ DateFormatter /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1701:49: error: missing argument label 'image:' in call if let imageID = SD.saveUIImage(obj as! UIImage) { ^ image: /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1841:30: error: use of unresolved identifier 'escapeIdentifier' sqlStr += "\(escapeIdentifier(value.0)) \(value.1.toSQL())" ^~~~~~~~~~~~~~~~ :0: note: did you mean 'NSLocaleIdentifier'? CoreFoundation.CFLocaleIdentifier:1:15: note: did you mean 'CFLocaleIdentifier'? public struct CFLocaleIdentifier : RawRepresentable, _SwiftNewtypeWrapper { ^ :0: note: did you mean 'kCFLocaleIdentifier'? Swift.ObjectIdentifier:5:15: note: did you mean 'ObjectIdentifier'? public struct ObjectIdentifier : Hashable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1844:32: error: use of unresolved identifier 'escapeIdentifier' sqlStr += ", \(escapeIdentifier(value.0)) \(value.1.toSQL())" ^~~~~~~~~~~~~~~~ :0: note: did you mean 'NSLocaleIdentifier'? CoreFoundation.CFLocaleIdentifier:1:15: note: did you mean 'CFLocaleIdentifier'? public struct CFLocaleIdentifier : RawRepresentable, _SwiftNewtypeWrapper { ^ :0: note: did you mean 'kCFLocaleIdentifier'? Swift.ObjectIdentifier:5:15: note: did you mean 'ObjectIdentifier'? public struct ObjectIdentifier : Hashable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1867:23: error: use of unresolved identifier 'executeQuery' let results = executeQuery(sqlStr) ^~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1927:23: error: use of unresolved identifier 'executeQuery' let results = executeQuery(sqlStr) ^~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1950:23: error: use of unresolved identifier 'executeQuery' let results = executeQuery(sqlStr) ^~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:2121:39: error: 'stringByDeletingLastPathComponent' has been renamed to 'deletingLastPathComponent' return (self as NSString).stringByDeletingLastPathComponent ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deletingLastPathComponent :0: note: 'stringByDeletingLastPathComponent' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:2128:39: error: 'stringByDeletingPathExtension' has been renamed to 'deletingPathExtension' return (self as NSString).stringByDeletingPathExtension ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deletingPathExtension :0: note: 'stringByDeletingPathExtension' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:2143:21: error: 'stringByAppendingPathComponent' has been renamed to 'appendingPathComponent(_:)' return nsSt.stringByAppendingPathComponent(path) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ appendingPathComponent :0: note: 'stringByAppendingPathComponent' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:2150:21: error: 'stringByAppendingPathExtension' has been renamed to 'appendingPathExtension(_:)' return nsSt.stringByAppendingPathExtension(ext) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ appendingPathExtension :0: note: 'stringByAppendingPathExtension' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:340:13: error: closure use of non-escaping parameter 'closure' may allow it to escape closure() ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:325:63: note: parameter 'closure' is implicitly non-escaping public static func executeWithConnection(flags: SD.Flags, closure: ()->Void) -> Int? { ^ @escaping /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:878:16: error: closure use of non-escaping parameter 'transactionClosure' may allow it to escape if transactionClosure() { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:856:36: note: parameter 'transactionClosure' is implicitly non-escaping public static func transaction(transactionClosure: ()->Bool) -> Int? { ^ @escaping /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:942:16: error: closure use of non-escaping parameter 'savepointClosure' may allow it to escape if savepointClosure() { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:920:34: note: parameter 'savepointClosure' is implicitly non-escaping public static func savepoint(savepointClosure: ()->Bool) -> Int? { ^ @escaping CompileSwift normal arm64 /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift cd /tmp/gimlet/2065222/project /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift -primary-file /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.1.sdk -I /tmp/gimlet/2065222/project/build -F /tmp/gimlet/2065222/project/build -g -import-objc-header /tmp/gimlet/2065222/project/Ethiconomy/Bridging-Header.h -serialize-debugging-options -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Ethiconomy-generated-files.hmap -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Ethiconomy-own-target-headers.hmap -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Ethiconomy-all-target-headers.hmap -Xcc -iquote -Xcc /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Ethiconomy-project-headers.hmap -Xcc -I/tmp/gimlet/2065222/project/build/include -Xcc -I/tmp/gimlet/2065222/project/build/usr/local/lib/include -Xcc -I/tmp/gimlet/2065222/project/build/UninstalledProducts/include -Xcc -I/tmp/gimlet/2065222/project/build/UninstalledProducts/iphoneos/include -Xcc -I/tmp/gimlet/2065222/project/build -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/DerivedSources/arm64 -Xcc -I/tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/DerivedSources -Xcc -working-directory/tmp/gimlet/2065222/project -emit-module-doc-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftyJson~partial.swiftdoc -O -module-name Ethiconomy -emit-module-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftyJson~partial.swiftmodule -serialize-diagnostics-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftyJson.dia -emit-dependencies-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftyJson.d -emit-reference-dependencies-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftyJson.swiftdeps -o /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftyJson.o /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:181:39: error: '=' has been replaced with ':' in attribute arguments @available(*, unavailable, renamed="null") ^ : /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:897:35: error: expected ',' joining parts of a multi-clause condition if let errorValue = error where errorValue.code == ErrorNotExist{ ~^~~~~ , /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1612:21: error: 'SQLiteDB' is inaccessible due to 'private' protection level extension SwiftData.SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1036:19: note: type declared here private class SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1831:21: error: 'SQLiteDB' is inaccessible due to 'private' protection level extension SwiftData.SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1036:19: note: type declared here private class SQLiteDB { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1971:21: error: 'SDError' is inaccessible due to 'private' protection level extension SwiftData.SDError { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift:1603:20: note: type declared here private struct SDError { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:68:43: error: 'NSJSONReadingOptions' has been renamed to 'JSONSerialization.ReadingOptions' public init(data:NSData, options opt: NSJSONReadingOptions = .AllowFragments, error: NSErrorPointer = nil) { ^~~~~~~~~~~~~~~~~~~~ JSONSerialization.ReadingOptions /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:659:23: error: no type named 'Printable' in module 'Swift' extension JSON: Swift.Printable, Swift.DebugPrintable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:659:40: error: no type named 'DebugPrintable' in module 'Swift' extension JSON: Swift.Printable, Swift.DebugPrintable { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:760:1: error: inheritance from non-protocol type 'BooleanType' (aka 'Bool') extension JSON: Swift.BooleanType { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:634:79: error: 'NSJSONWritingOptions' has been renamed to 'JSONSerialization.WritingOptions' public func rawString(encoding: UInt = NSUTF8StringEncoding, options opt: NSJSONWritingOptions = .PrettyPrinted) -> String? { ^~~~~~~~~~~~~~~~~~~~ JSONSerialization.WritingOptions /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:366:31: error: 'GeneratorType' has been renamed to 'IteratorProtocol' public struct JSONGenerator : GeneratorType { ^~~~~~~~~~~~~ IteratorProtocol /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:274:26: error: 'ForwardIndexType' has been renamed to 'Comparable' public struct JSONIndex: ForwardIndexType, _Incrementable, Equatable, Comparable { ^~~~~~~~~~~~~~~~ Comparable /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:215:53: error: ambiguous type name 'Generator' in 'JSON' public subscript (position: JSON.Index) -> JSON.Generator.Element { ~~~~ ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:189:22: note: found candidate with type 'JSON.Generator' (aka 'JSONGenerator') public typealias Generator = JSONGenerator ^ Swift.Collection:3:22: note: found candidate with type 'JSON.Iterator' (aka 'IndexingIterator') public typealias Generator = Self.Iterator ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:269:36: error: ambiguous type name 'Generator' in 'JSON' public func generate() -> JSON.Generator { ~~~~ ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:189:22: note: found candidate with type 'JSON.Generator' (aka 'JSONGenerator') public typealias Generator = JSONGenerator ^ Swift.Collection:3:22: note: found candidate with type 'JSON.Iterator' (aka 'IndexingIterator') public typealias Generator = Self.Iterator ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:371:36: error: use of undeclared type 'DictionaryGenerator' private var dictionayGenerate: DictionaryGenerator? ^~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:372:32: error: 'IndexingGenerator' has been renamed to 'IndexingIterator' private var arrayGenerate: IndexingGenerator<[AnyObject]>? ^~~~~~~~~~~~~~~~~ IndexingIterator /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:626:38: error: 'NSJSONWritingOptions' has been renamed to 'JSONSerialization.WritingOptions' public func rawData(options opt: NSJSONWritingOptions = NSJSONWritingOptions(rawValue: 0)) throws -> NSData { ^~~~~~~~~~~~~~~~~~~~ JSONSerialization.WritingOptions /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1283:26: error: 'init(bool:)' has been renamed to 'init(value:)' private let trueNumber = NSNumber(bool: true) ^ ~~~~ value :0: note: 'init(bool:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1284:27: error: 'init(bool:)' has been renamed to 'init(value:)' private let falseNumber = NSNumber(bool: false) ^ ~~~~ value :0: note: 'init(bool:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1285:35: error: 'fromCString' is unavailable: Please use String.init?(validatingUTF8:) instead. Note that it no longer accepts NULL as a valid input. Also consider using String(cString:), that will attempt to repair ill-formed code units. private let trueObjCType = String.fromCString(trueNumber.objCType) ^~~~~~~~~~~ Swift.String:3:24: note: 'fromCString' has been explicitly marked unavailable here public static func fromCString(_ cs: UnsafePointer) -> String? ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1286:36: error: 'fromCString' is unavailable: Please use String.init?(validatingUTF8:) instead. Note that it no longer accepts NULL as a valid input. Also consider using String(cString:), that will attempt to repair ill-formed code units. private let falseObjCType = String.fromCString(falseNumber.objCType) ^~~~~~~~~~~ Swift.String:3:24: note: 'fromCString' has been explicitly marked unavailable here public static func fromCString(_ cs: UnsafePointer) -> String? ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:99:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(jsonArray.map { $0.object }) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:114:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(dictionary) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:133:29: error: return expression of type '[AnyObject]' does not conform to 'AnyObject' return self.rawArray ~~~~~^~~~~~~~ as AnyObject /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:135:29: error: return expression of type '[String : AnyObject]' does not conform to 'AnyObject' return self.rawDictionary ~~~~~^~~~~~~~~~~~~ as AnyObject /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:183:49: error: cannot invoke initializer for type 'JSON' with an argument list of type '(NSNull)' public static var null: JSON { get { return JSON(NSNull()) } } ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:183:49: note: overloads for 'JSON' exist with these partially matching parameter lists: (AnyObject), ([JSON]), ([String : JSON]) public static var null: JSON { get { return JSON(NSNull()) } } ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:196:47: error: 'rawArray' is inaccessible due to 'private' protection level return JSONIndex(arrayIndex: self.rawArray.startIndex) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:198:52: error: 'rawDictionary' is inaccessible due to 'private' protection level return JSONIndex(dictionaryIndex: self.rawDictionary.startIndex) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:207:47: error: 'rawArray' is inaccessible due to 'private' protection level return JSONIndex(arrayIndex: self.rawArray.endIndex) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:209:52: error: 'rawDictionary' is inaccessible due to 'private' protection level return JSONIndex(dictionaryIndex: self.rawDictionary.endIndex) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:218:60: error: 'rawArray' is inaccessible due to 'private' protection level return (String(position.arrayIndex), JSON(self.rawArray[position.arrayIndex!])) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:220:37: error: 'rawDictionary' is inaccessible due to 'private' protection level let (key, value) = self.rawDictionary[position.dictionaryIndex!] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:232:29: error: 'rawArray' is inaccessible due to 'private' protection level return self.rawArray.isEmpty ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:234:29: error: 'rawDictionary' is inaccessible due to 'private' protection level return self.rawDictionary.isEmpty ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:245:25: error: 'rawArray' is inaccessible due to 'private' protection level return self.rawArray.count ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:247:25: error: 'rawDictionary' is inaccessible due to 'private' protection level return self.rawDictionary.count ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:256:25: error: 'rawArray' is inaccessible due to 'private' protection level return self.rawArray.underestimateCount() ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:258:25: error: 'rawDictionary' is inaccessible due to 'private' protection level return self.rawDictionary.underestimateCount() ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:302:57: error: value of type 'Int' has no member 'successor' return JSONIndex(arrayIndex: self.arrayIndex!.successor()) ~~~~~~~~~~~~~~~^ ~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:304:69: error: 'successor' is inaccessible due to 'internal' protection level return JSONIndex(dictionaryIndex: self.dictionaryIndex!.successor()) ^ :0: note: 'successor' declared here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:325:20: error: value of optional type 'Int?' not unwrapped; did you mean to use '!' or '?'? return lhs.arrayIndex < rhs.arrayIndex ^ ! /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:325:37: error: value of optional type 'Int?' not unwrapped; did you mean to use '!' or '?'? return lhs.arrayIndex < rhs.arrayIndex ^ ! /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:327:36: error: binary operator '<' cannot be applied to two 'DictionaryIndex?' operands return lhs.dictionaryIndex < rhs.dictionaryIndex ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:327:36: note: overloads for '<' exist with these partially matching parameter lists: (JSONIndex, JSONIndex), (JSON, JSON), (NSNumber, NSNumber), (Date, Date), (DateInterval, DateInterval), (Decimal, Decimal), (IndexPath, IndexPath), (IndexSet.Index, IndexSet.Index), (DispatchTime, DispatchTime), (DispatchWallTime, DispatchWallTime), (UInt8, UInt8), (Int8, Int8), (UInt16, UInt16), (Int16, Int16), (UInt32, UInt32), (Int32, Int32), (UInt64, UInt64), (Int64, Int64), (UInt, UInt), (Int, Int), (UnsafeMutableRawPointer, UnsafeMutableRawPointer), (UnsafeRawPointer, UnsafeRawPointer), (Character, Character), (ObjectIdentifier, ObjectIdentifier), (String, String), (String.Index, String.Index), (String.UnicodeScalarView.Index, String.UnicodeScalarView.Index), (String.UTF16View.Index, String.UTF16View.Index), (String.UTF8View.Index, String.UTF8View.Index), (UnicodeScalar, UnicodeScalar), (_SwiftNSOperatingSystemVersion, _SwiftNSOperatingSystemVersion), (AnyIndex, AnyIndex), (UnsafeMutablePointer, UnsafeMutablePointer), (UnsafePointer, UnsafePointer), ((A, B), (A, B)), ((A, B, C), (A, B, C)), ((A, B, C, D), (A, B, C, D)), ((A, B, C, D, E), (A, B, C, D, E)), ((A, B, C, D, E, F), (A, B, C, D, E, F)), (ClosedRangeIndex, ClosedRangeIndex), (LazyFilterIndex, LazyFilterIndex), (FlattenCollectionIndex, FlattenCollectionIndex), (FlattenBidirectionalCollectionIndex, FlattenBidirectionalCollectionIndex), (SetIndex, SetIndex), (DictionaryIndex, DictionaryIndex), (ReversedIndex, ReversedIndex), (ReversedRandomAccessIndex, ReversedRandomAccessIndex), (Measurement, Measurement) return lhs.dictionaryIndex < rhs.dictionaryIndex ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:336:20: error: value of optional type 'Int?' not unwrapped; did you mean to use '!' or '?'? return lhs.arrayIndex <= rhs.arrayIndex ^ ! /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:336:38: error: value of optional type 'Int?' not unwrapped; did you mean to use '!' or '?'? return lhs.arrayIndex <= rhs.arrayIndex ^ ! /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:338:36: error: binary operator '<=' cannot be applied to two 'DictionaryIndex?' operands return lhs.dictionaryIndex <= rhs.dictionaryIndex ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:338:36: note: overloads for '<=' exist with these partially matching parameter lists: (JSONIndex, JSONIndex), (JSON, JSON), (NSNumber, NSNumber), (IndexPath, IndexPath), (IndexSet.Index, IndexSet.Index), (UInt8, UInt8), (Int8, Int8), (UInt16, UInt16), (Int16, Int16), (UInt32, UInt32), (Int32, Int32), (UInt64, UInt64), (Int64, Int64), (UInt, UInt), (Int, Int), ((A, B), (A, B)), ((A, B, C), (A, B, C)), ((A, B, C, D), (A, B, C, D)), ((A, B, C, D, E), (A, B, C, D, E)), ((A, B, C, D, E, F), (A, B, C, D, E, F)), (LazyFilterIndex, LazyFilterIndex) return lhs.dictionaryIndex <= rhs.dictionaryIndex ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:347:20: error: value of optional type 'Int?' not unwrapped; did you mean to use '!' or '?'? return lhs.arrayIndex >= rhs.arrayIndex ^ ! /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:347:38: error: value of optional type 'Int?' not unwrapped; did you mean to use '!' or '?'? return lhs.arrayIndex >= rhs.arrayIndex ^ ! /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:349:36: error: binary operator '>=' cannot be applied to two 'DictionaryIndex?' operands return lhs.dictionaryIndex >= rhs.dictionaryIndex ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:349:36: note: overloads for '>=' exist with these partially matching parameter lists: (JSONIndex, JSONIndex), (JSON, JSON), (NSNumber, NSNumber), (IndexPath, IndexPath), (IndexSet.Index, IndexSet.Index), (UInt8, UInt8), (Int8, Int8), (UInt16, UInt16), (Int16, Int16), (UInt32, UInt32), (Int32, Int32), (UInt64, UInt64), (Int64, Int64), (UInt, UInt), (Int, Int), (_SwiftNSOperatingSystemVersion, _SwiftNSOperatingSystemVersion), ((A, B), (A, B)), ((A, B, C), (A, B, C)), ((A, B, C, D), (A, B, C, D)), ((A, B, C, D, E), (A, B, C, D, E)), ((A, B, C, D, E, F), (A, B, C, D, E, F)), (LazyFilterIndex, LazyFilterIndex) return lhs.dictionaryIndex >= rhs.dictionaryIndex ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:358:20: error: value of optional type 'Int?' not unwrapped; did you mean to use '!' or '?'? return lhs.arrayIndex > rhs.arrayIndex ^ ! /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:358:37: error: value of optional type 'Int?' not unwrapped; did you mean to use '!' or '?'? return lhs.arrayIndex > rhs.arrayIndex ^ ! /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:360:36: error: binary operator '>' cannot be applied to two 'DictionaryIndex?' operands return lhs.dictionaryIndex > rhs.dictionaryIndex ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:360:36: note: overloads for '>' exist with these partially matching parameter lists: (JSONIndex, JSONIndex), (JSON, JSON), (NSNumber, NSNumber), (Date, Date), (IndexPath, IndexPath), (IndexSet.Index, IndexSet.Index), (UInt8, UInt8), (Int8, Int8), (UInt16, UInt16), (Int16, Int16), (UInt32, UInt32), (Int32, Int32), (UInt64, UInt64), (Int64, Int64), (UInt, UInt), (Int, Int), ((A, B), (A, B)), ((A, B, C), (A, B, C)), ((A, B, C, D), (A, B, C, D)), ((A, B, C, D, E), (A, B, C, D, E)), ((A, B, C, D, E, F), (A, B, C, D, E, F)), (LazyFilterIndex, LazyFilterIndex) return lhs.dictionaryIndex > rhs.dictionaryIndex ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:437:19: error: '_error' is inaccessible due to 'private' protection level r._error = self._error ?? NSError(domain: ErrorDomain, code: ErrorWrongType, userInfo: [NSLocalizedDescriptionKey: "Array[\(index)] failure, It is not an array"]) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:126:17: note: '_error' declared here private var _error: NSError? = nil ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:439:50: error: 'rawArray' is inaccessible due to 'private' protection level } else if index >= 0 && index < self.rawArray.count { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:440:34: error: 'rawArray' is inaccessible due to 'private' protection level return JSON(self.rawArray[index]) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:443:19: error: '_error' is inaccessible due to 'private' protection level r._error = NSError(domain: ErrorDomain, code:ErrorIndexOutOfBounds , userInfo: [NSLocalizedDescriptionKey: "Array[\(index)] is out of bounds"]) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:126:17: note: '_error' declared here private var _error: NSError? = nil ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:449:25: error: 'rawArray' is inaccessible due to 'private' protection level if self.rawArray.count > index && newValue.error == nil { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:450:26: error: 'rawArray' is inaccessible due to 'private' protection level self.rawArray[index] = newValue.object ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:461:33: error: 'rawDictionary' is inaccessible due to 'private' protection level if let o = self.rawDictionary[key] { ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:464:23: error: '_error' is inaccessible due to 'private' protection level r._error = NSError(domain: ErrorDomain, code: ErrorNotExist, userInfo: [NSLocalizedDescriptionKey: "Dictionary[\"\(key)\"] does not exist"]) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:126:17: note: '_error' declared here private var _error: NSError? = nil ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:467:19: error: '_error' is inaccessible due to 'private' protection level r._error = self._error ?? NSError(domain: ErrorDomain, code: ErrorWrongType, userInfo: [NSLocalizedDescriptionKey: "Dictionary[\"\(key)\"] failure, It is not an dictionary"]) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:126:17: note: '_error' declared here private var _error: NSError? = nil ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:473:22: error: 'rawDictionary' is inaccessible due to 'private' protection level self.rawDictionary[key] = newValue.object ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:518:41: error: 'removeAtIndex' has been renamed to 'remove(at:)' var aPath = path; aPath.removeAtIndex(0) ^~~~~~~~~~~~~ remove at: Swift.Array:3:26: note: 'removeAtIndex' has been explicitly marked unavailable here public mutating func removeAtIndex(_ index: Int) -> Element ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:518:41: warning: result of call to 'removeAtIndex' is unused var aPath = path; aPath.removeAtIndex(0) ^ ~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:552:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(value) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:556:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(value) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:560:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(value) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:567:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(value) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:574:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(value) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:581:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(value) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:588:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(elements.reduce([String : AnyObject]()){(dictionary: [String : AnyObject], element:(String, AnyObject)) -> [String : AnyObject] in ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:599:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(elements) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:606:9: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(NSNull()) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:618:13: error: 'init' is a member of the type; use 'type(of: ...)' to initialize a new object of the same dynamic type self.init(rawValue) ^ type(of: ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:627:15: error: 'NSJSONSerialization' has been renamed to 'JSONSerialization' guard NSJSONSerialization.isValidJSONObject(self.object) else { ^~~~~~~~~~~~~~~~~~~ JSONSerialization /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:634:44: error: default argument value of type 'String.Encoding' cannot be converted to type 'UInt' public func rawString(encoding: UInt = NSUTF8StringEncoding, options opt: NSJSONWritingOptions = .PrettyPrinted) -> String? { ^~~~~~~~~~~~~~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:682:29: error: 'rawArray' is inaccessible due to 'private' protection level return self.rawArray.map{ JSON($0) } ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:701:29: error: 'rawArray' is inaccessible due to 'private' protection level return self.rawArray ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:708:31: error: value of type '[AnyObject]' does not conform to 'AnyObject' in assignment self.object = array ^~~~~ as AnyObject /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:723:25: error: 'rawDictionary' is inaccessible due to 'private' protection level return self.rawDictionary.reduce([String : JSON]()) { (dictionary: [String : JSON], element: (String, AnyObject)) -> [String : JSON] in ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:743:29: error: 'rawDictionary' is inaccessible due to 'private' protection level return self.rawDictionary ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:750:31: error: value of type '[String : AnyObject]' does not conform to 'AnyObject' in assignment self.object = v ^ as AnyObject /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:767:29: error: 'rawNumber' is inaccessible due to 'private' protection level return self.rawNumber.boolValue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:774:31: error: 'init(bool:)' has been renamed to 'init(value:)' self.object = NSNumber(bool: newValue!) ^ ~~~~ value :0: note: 'init(bool:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:792:27: error: 'init(bool:)' has been renamed to 'init(value:)' self.object = NSNumber(bool: newValue) ^ ~~~~ value :0: note: 'init(bool:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:848:29: error: 'rawNumber' is inaccessible due to 'private' protection level return self.rawNumber ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:864:57: error: cannot call value of non-function type 'NSDecimalNumber' if decimal == NSDecimalNumber.notANumber() { // indicates parse error ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:865:48: error: cannot call value of non-function type 'NSDecimalNumber' return NSDecimalNumber.zero() ~~~~~~~~~~~~~~~~~~~~^~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:871:24: error: 'init(double:)' has been renamed to 'init(value:)' return NSNumber(double: 0.0) ^ ~~~~~~ value :0: note: 'init(double:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:887:29: error: 'rawNull' is inaccessible due to 'private' protection level return self.rawNull ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:122:17: note: 'rawNull' declared here private var rawNull: NSNull = NSNull() ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:922:37: error: cannot convert value of type 'String?' to expected argument type 'AnyObject?' self.object = newValue?.absoluteString ?? NSNull() ~~~~~~~~~~^~~~~~~~~~~~~~ as AnyObject? /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:937:31: error: 'init(double:)' has been renamed to 'init(value:)' self.object = NSNumber(double: newValue!) ^ ~~~~~~ value :0: note: 'init(double:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:949:27: error: 'init(double:)' has been renamed to 'init(value:)' self.object = NSNumber(double: newValue) ^ ~~~~~~ value :0: note: 'init(double:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:959:31: error: 'init(float:)' has been renamed to 'init(value:)' self.object = NSNumber(float: newValue!) ^ ~~~~~ value :0: note: 'init(float:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:971:27: error: 'init(float:)' has been renamed to 'init(value:)' self.object = NSNumber(float: newValue) ^ ~~~~~ value :0: note: 'init(float:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:977:33: error: 'longValue' is unavailable in Swift return self.number?.longValue ^~~~~~~~~ Foundation.NSNumber:30:14: note: 'longValue' has been explicitly marked unavailable here open var longValue: Int { get } ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:981:31: error: 'init(integer:)' has been renamed to 'init(value:)' self.object = NSNumber(integer: newValue!) ^ ~~~~~~~ value :0: note: 'init(integer:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:990:37: error: 'integerValue' has been renamed to 'intValue' return self.numberValue.integerValue ^~~~~~~~~~~~ intValue :0: note: 'integerValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:993:27: error: 'init(integer:)' has been renamed to 'init(value:)' self.object = NSNumber(integer: newValue) ^ ~~~~~~~ value :0: note: 'init(integer:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:999:33: error: 'unsignedLongValue' is unavailable in Swift: use 'uintValue' return self.number?.unsignedLongValue ^~~~~~~~~~~~~~~~~ Foundation.NSNumber:32:14: note: 'unsignedLongValue' has been explicitly marked unavailable here open var unsignedLongValue: UInt { get } ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1003:31: error: 'init(unsignedLong:)' is unavailable in Swift self.object = NSNumber(unsignedLong: newValue!) ^~~~~~~~ Foundation.NSNumber:13:12: note: 'init(unsignedLong:)' has been explicitly marked unavailable here public init(unsignedLong value: UInt) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1012:37: error: 'unsignedLongValue' is unavailable in Swift: use 'uintValue' return self.numberValue.unsignedLongValue ^~~~~~~~~~~~~~~~~ Foundation.NSNumber:32:14: note: 'unsignedLongValue' has been explicitly marked unavailable here open var unsignedLongValue: UInt { get } ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1015:27: error: 'init(unsignedLong:)' is unavailable in Swift self.object = NSNumber(unsignedLong: newValue) ^~~~~~~~ Foundation.NSNumber:13:12: note: 'init(unsignedLong:)' has been explicitly marked unavailable here public init(unsignedLong value: UInt) ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1021:33: error: 'charValue' has been renamed to 'int8Value' return self.number?.charValue ^~~~~~~~~ int8Value :0: note: 'charValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1025:31: error: 'init(char:)' has been renamed to 'init(value:)' self.object = NSNumber(char: newValue!) ^ ~~~~ value :0: note: 'init(char:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1034:37: error: 'charValue' has been renamed to 'int8Value' return self.numberValue.charValue ^~~~~~~~~ int8Value :0: note: 'charValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1037:27: error: 'init(char:)' has been renamed to 'init(value:)' self.object = NSNumber(char: newValue) ^ ~~~~ value :0: note: 'init(char:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1043:33: error: 'unsignedCharValue' has been renamed to 'uint8Value' return self.number?.unsignedCharValue ^~~~~~~~~~~~~~~~~ uint8Value :0: note: 'unsignedCharValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1047:31: error: 'init(unsignedChar:)' has been renamed to 'init(value:)' self.object = NSNumber(unsignedChar: newValue!) ^ ~~~~~~~~~~~~ value :0: note: 'init(unsignedChar:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1056:37: error: 'unsignedCharValue' has been renamed to 'uint8Value' return self.numberValue.unsignedCharValue ^~~~~~~~~~~~~~~~~ uint8Value :0: note: 'unsignedCharValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1059:27: error: 'init(unsignedChar:)' has been renamed to 'init(value:)' self.object = NSNumber(unsignedChar: newValue) ^ ~~~~~~~~~~~~ value :0: note: 'init(unsignedChar:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1065:33: error: 'shortValue' has been renamed to 'int16Value' return self.number?.shortValue ^~~~~~~~~~ int16Value :0: note: 'shortValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1069:31: error: 'init(short:)' has been renamed to 'init(value:)' self.object = NSNumber(short: newValue!) ^ ~~~~~ value :0: note: 'init(short:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1078:37: error: 'shortValue' has been renamed to 'int16Value' return self.numberValue.shortValue ^~~~~~~~~~ int16Value :0: note: 'shortValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1081:27: error: 'init(short:)' has been renamed to 'init(value:)' self.object = NSNumber(short: newValue) ^ ~~~~~ value :0: note: 'init(short:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1087:33: error: 'unsignedShortValue' has been renamed to 'uint16Value' return self.number?.unsignedShortValue ^~~~~~~~~~~~~~~~~~ uint16Value :0: note: 'unsignedShortValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1091:31: error: 'init(unsignedShort:)' has been renamed to 'init(value:)' self.object = NSNumber(unsignedShort: newValue!) ^ ~~~~~~~~~~~~~ value :0: note: 'init(unsignedShort:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1100:37: error: 'unsignedShortValue' has been renamed to 'uint16Value' return self.numberValue.unsignedShortValue ^~~~~~~~~~~~~~~~~~ uint16Value :0: note: 'unsignedShortValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1103:27: error: 'init(unsignedShort:)' has been renamed to 'init(value:)' self.object = NSNumber(unsignedShort: newValue) ^ ~~~~~~~~~~~~~ value :0: note: 'init(unsignedShort:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1109:33: error: cannot convert return expression of type 'Int?' to return type 'Int32?' return self.number?.intValue ~~~~~~~~~~~~~^~~~~~~~ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1113:31: error: 'init(int:)' has been renamed to 'init(value:)' self.object = NSNumber(int: newValue!) ^ ~~~ value :0: note: 'init(int:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1122:37: error: cannot convert return expression of type 'Int' to return type 'Int32' return self.numberValue.intValue ~~~~~~~~~~~~~~~~~^~~~~~~~ Int32( ) /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1125:27: error: 'init(int:)' has been renamed to 'init(value:)' self.object = NSNumber(int: newValue) ^ ~~~ value :0: note: 'init(int:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1131:33: error: 'unsignedIntValue' has been renamed to 'uint32Value' return self.number?.unsignedIntValue ^~~~~~~~~~~~~~~~ uint32Value :0: note: 'unsignedIntValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1135:31: error: 'init(unsignedInt:)' has been renamed to 'init(value:)' self.object = NSNumber(unsignedInt: newValue!) ^ ~~~~~~~~~~~ value :0: note: 'init(unsignedInt:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1144:37: error: 'unsignedIntValue' has been renamed to 'uint32Value' return self.numberValue.unsignedIntValue ^~~~~~~~~~~~~~~~ uint32Value :0: note: 'unsignedIntValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1147:27: error: 'init(unsignedInt:)' has been renamed to 'init(value:)' self.object = NSNumber(unsignedInt: newValue) ^ ~~~~~~~~~~~ value :0: note: 'init(unsignedInt:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1153:33: error: 'longLongValue' has been renamed to 'int64Value' return self.number?.longLongValue ^~~~~~~~~~~~~ int64Value :0: note: 'longLongValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1157:31: error: 'init(longLong:)' has been renamed to 'init(value:)' self.object = NSNumber(longLong: newValue!) ^ ~~~~~~~~ value :0: note: 'init(longLong:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1166:37: error: 'longLongValue' has been renamed to 'int64Value' return self.numberValue.longLongValue ^~~~~~~~~~~~~ int64Value :0: note: 'longLongValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1169:27: error: 'init(longLong:)' has been renamed to 'init(value:)' self.object = NSNumber(longLong: newValue) ^ ~~~~~~~~ value :0: note: 'init(longLong:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1175:33: error: 'unsignedLongLongValue' has been renamed to 'uint64Value' return self.number?.unsignedLongLongValue ^~~~~~~~~~~~~~~~~~~~~ uint64Value :0: note: 'unsignedLongLongValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1179:31: error: 'init(unsignedLongLong:)' has been renamed to 'init(value:)' self.object = NSNumber(unsignedLongLong: newValue!) ^ ~~~~~~~~~~~~~~~~ value :0: note: 'init(unsignedLongLong:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1188:37: error: 'unsignedLongLongValue' has been renamed to 'uint64Value' return self.numberValue.unsignedLongLongValue ^~~~~~~~~~~~~~~~~~~~~ uint64Value :0: note: 'unsignedLongLongValue' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1191:27: error: 'init(unsignedLongLong:)' has been renamed to 'init(value:)' self.object = NSNumber(unsignedLongLong: newValue) ^ ~~~~~~~~~~~~~~~~ value :0: note: 'init(unsignedLongLong:)' has been explicitly marked unavailable here /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1203:20: error: 'rawNumber' is inaccessible due to 'private' protection level return lhs.rawNumber == rhs.rawNumber ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1207:20: error: 'rawNumber' is inaccessible due to 'private' protection level return lhs.rawNumber.boolValue == rhs.rawNumber.boolValue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1209:20: error: 'rawArray' is inaccessible due to 'private' protection level return lhs.rawArray as NSArray == rhs.rawArray as NSArray ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1211:20: error: 'rawDictionary' is inaccessible due to 'private' protection level return lhs.rawDictionary as NSDictionary == rhs.rawDictionary as NSDictionary ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1223:20: error: 'rawNumber' is inaccessible due to 'private' protection level return lhs.rawNumber <= rhs.rawNumber ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1227:20: error: 'rawNumber' is inaccessible due to 'private' protection level return lhs.rawNumber.boolValue == rhs.rawNumber.boolValue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1229:20: error: 'rawArray' is inaccessible due to 'private' protection level return lhs.rawArray as NSArray == rhs.rawArray as NSArray ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1231:20: error: 'rawDictionary' is inaccessible due to 'private' protection level return lhs.rawDictionary as NSDictionary == rhs.rawDictionary as NSDictionary ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1243:20: error: 'rawNumber' is inaccessible due to 'private' protection level return lhs.rawNumber >= rhs.rawNumber ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1247:20: error: 'rawNumber' is inaccessible due to 'private' protection level return lhs.rawNumber.boolValue == rhs.rawNumber.boolValue ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1249:20: error: 'rawArray' is inaccessible due to 'private' protection level return lhs.rawArray as NSArray == rhs.rawArray as NSArray ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:118:17: note: 'rawArray' declared here private var rawArray: [AnyObject] = [] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1251:20: error: 'rawDictionary' is inaccessible due to 'private' protection level return lhs.rawDictionary as NSDictionary == rhs.rawDictionary as NSDictionary ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:119:17: note: 'rawDictionary' declared here private var rawDictionary: [String : AnyObject] = [:] ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1263:20: error: 'rawNumber' is inaccessible due to 'private' protection level return lhs.rawNumber > rhs.rawNumber ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1275:20: error: 'rawNumber' is inaccessible due to 'private' protection level return lhs.rawNumber < rhs.rawNumber ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:121:17: note: 'rawNumber' declared here private var rawNumber: NSNumber = 0 ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1293:35: error: 'fromCString' is unavailable: Please use String.init?(validatingUTF8:) instead. Note that it no longer accepts NULL as a valid input. Also consider using String(cString:), that will attempt to repair ill-formed code units. let objCType = String.fromCString(self.objCType) ^~~~~~~~~~~ Swift.String:3:24: note: 'fromCString' has been explicitly marked unavailable here public static func fromCString(_ cs: UnsafePointer) -> String? ^ /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1294:45: error: 'NSComparisonResult' has been renamed to 'ComparisonResult' if (self.compare(trueNumber) == NSComparisonResult.OrderedSame && objCType == trueObjCType) ^~~~~~~~~~~~~~~~~~ ComparisonResult /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1295:50: error: 'NSComparisonResult' has been renamed to 'ComparisonResult' || (self.compare(falseNumber) == NSComparisonResult.OrderedSame && objCType == falseObjCType){ ^~~~~~~~~~~~~~~~~~ ComparisonResult /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1311:36: error: 'NSComparisonResult' has been renamed to 'ComparisonResult' return lhs.compare(rhs) == NSComparisonResult.OrderedSame ^~~~~~~~~~~~~~~~~~ ComparisonResult /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1327:36: error: 'NSComparisonResult' has been renamed to 'ComparisonResult' return lhs.compare(rhs) == NSComparisonResult.OrderedAscending ^~~~~~~~~~~~~~~~~~ ComparisonResult /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1339:36: error: 'NSComparisonResult' has been renamed to 'ComparisonResult' return lhs.compare(rhs) == NSComparisonResult.OrderedDescending ^~~~~~~~~~~~~~~~~~ ComparisonResult /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1351:36: error: 'NSComparisonResult' has been renamed to 'ComparisonResult' return lhs.compare(rhs) != NSComparisonResult.OrderedDescending ^~~~~~~~~~~~~~~~~~ ComparisonResult /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift:1363:36: error: 'NSComparisonResult' has been renamed to 'ComparisonResult' return lhs.compare(rhs) != NSComparisonResult.OrderedAscending ^~~~~~~~~~~~~~~~~~ ComparisonResult ** BUILD FAILED ** The following build commands failed: CompileSwift normal arm64 /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/GeofencePlugin.swift CompileSwift normal arm64 /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftData.swift CompileSwift normal arm64 /tmp/gimlet/2065222/project/Ethiconomy/Plugins/cordova-plugin-geofence/SwiftyJson.swift CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (4 failures)