GithubHelp home page GithubHelp logo

ionic-geofence's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ionic-geofence's Issues

ios Build error

when i do

$ ionic build ios

** BUILD FAILED **

The following build commands failed:
CompileSwift normal i386 /Users/bx/ionic/geoFenTry/platforms/ios/geoFenTry/Plugins/com.cowbell.cordova.geofence/GeofencePlugin.swift
CompileSwift normal i386 /Users/bx/ionic/geoFenTry/platforms/ios/geoFenTry/Plugins/com.cowbell.cordova.geofence/SwiftData.swift
CompileSwiftSources normal i386 com.apple.xcode.tools.swift.compiler
(3 failures)
Error code 65 for command: xcodebuild with args: -xcconfig,/Users/bx/ionic/geoFenTry/platforms/ios/cordova/build-debug.xcconfig,-project,geoFenTry.xcodeproj,ARCHS=i386,-target,geoFenTry,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/bx/ionic/geoFenTry/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/bx/ionic/geoFenTry/platforms/ios/build/sharedpch
ERROR building one of the platforms: Error: /Users/bx/ionic/geoFenTry/platforms/ios/cordova/build: Command failed with exit code 2
You may not have the required environment or OS to build this project
Error: /Users/bx/ionic/geoFenTry/platforms/ios/cordova/build: Command failed with exit code 2
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:131:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

Android build fails

Hi Tomasz,

First, congratulations for your work on this plugin.

I just wanted to log the error I get every time I build the project on Android. I know there's a build error on the main plugin repository already reported, I just want to log it so I'm notified when the error is fixed.

I managed to get a build but every time I open the app I only get a white screen and nothing happens

Please see the StackTrace attached.

Thanks,
Roberto

Running command: C:\nodejs\node.exe C:\src\ionic\ionic-geofence\hooks\after_prepare\010_add_platform_class.js C:\src\ionic\ionic-geofence
add to body class: platform-android
Running command: C:\nodejs\node.exe C:\src\ionic\ionic-geofence\hooks\after_prepare\020_remove_sass_from_platforms.js C:\src\ionic\ionic-geofence
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65
Reading build config file: C:\src\ionic\ionic-geofence\build.json
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:compileDebugAidl
:CordovaLib:generateDebugBuildConfig
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets
:CordovaLib:processDebugManifest
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:prepareAndroidCordovaLibUnspecifiedDebugLibrary
:preReleaseBuild UP-TO-DATE
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:compileReleaseNdk UP-TO-DATE
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:compileReleaseAidl
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets
:CordovaLib:processReleaseManifest
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:compileReleaseJavaWithJavacNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareComAndroidSupportSupportV42300Library
:prepareComGoogleAndroidGmsPlayServicesBase840Library
:prepareComGoogleAndroidGmsPlayServicesBasement840Library
:prepareComGoogleAndroidGmsPlayServicesLocation840Library
:prepareComGoogleAndroidGmsPlayServicesMaps840Library
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugAssets UP-TO-DATE
:mergeDebugAssets
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
:generateDebugSources
:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:compileDebugNdk UP-TO-DATE
:compileDebugSources
:transformClassesWithDexForDebug
:mergeDebugJniLibFolders
:transformNative_libsWithMergeJniLibsForDebug
:processDebugJavaRes UP-TO-DATE
:transformResourcesWithMergeJavaResForDebug
:validateDebugSigning
:packageDebug
:zipalignDebug
:assembleDebug
:cdvBuildDebug

BUILD SUCCESSFUL

Total time: 7 mins 45.227 secs
Built the following apk(s):
        C:/.../android-debug.apk

Leaving notification did not work

Great geofence on ionic example, man! However I tried adding notification when leaving the area, but I got no notification when I am outside the radius. Did you try this?

Also, it seems like the application can only get position when it is connected to wifi.

Application Error on Testing

When installed on my android, I go to menu, then click "Test application".
i received:
net::ERR_FILE_NOT_FOUND(file:///android_asset/www/cdvtests/index.html)

window.geofence is always undefined

Hi,

Running ionic serve shows everything working just fine. However, on closer look, I realized that $window.geofence is always undefined (that means GeofencePluginMock is used instead).

I tried installing the cordova plugin directly into the ionic app:cordova plugin add cordova plugin add cordova-plugin-geofence but geofence is still undefined.

Any pointers will be helpful.
Thanks

Wont work on device

The program worked on browser but wouldnt work on my device.

it stop at "Obtaining current location"...

i also added this line of code to the manifest file but couldn't get it to work
uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"
uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"
uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"

Can you help me with it

Just a question

Hi !
First of all : Thanks for this example and "bravo" !
I have just a question, i don't know if it is an issue, but...
When i inspect Local Storage in debug mode, after put a single geofence, i have got the same data twice ... Is it normal and could you explain why ?
Thanks for reply
sbeGhen
geo

App screen is blank

Running the app with ionic run android installs the app onto my device (Samsung Galaxy S6) but when the app opens, a blank white screen is displayed with no ability to interact with the app. The same occurs when running in an Android emulator using target API level 19.

Application did not work

I tried this app in galaxy note 2, 3 and ios 7 and the there is no notification shown when near the pre define perimeters.

ENOENT error

{ Error: ENOENT: no such file or directory, open 'E:\6th sem\Minor Project\revie
w 3\ionic-geofence-master\ionic-geofence-master.env'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.readFileSync (fs.js:508:33)
at Object.config (E:\6th sem\Minor Project\review 3\ionic-geofence-master\io
nic-geofence-master\node_modules\dotenv\lib\main.js:30:37)
at Object. (E:\6th sem\Minor Project\review 3\ionic-geofence-mast
er\ionic-geofence-master\gulpfile.js:13:19)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'E:\6th sem\Minor Project\review 3\ionic-geofence-master\ionic-geof
ence-master\.env' }

Cannot use location services on Android devices

Testing on both a Samsung Galaxy S6 running Lollipop 5.0.2 and an Android emulator running KitKat 4.4.2.
When clicking on the + icon to add a new geofence, the screen gets stuck on the "Obtaining current location..." popup modal and nothing happens. Upon further inspection of the logs, it appears there is a permissions issue with using the Android device's location service, as indicated by this log entry:
07-08 19:20:15.731 1282-1282/com.tsubik.ionicgeofence E/LocationProvider﹕ Caught security exception registering for location updates from system. This should only happen in DumpRenderTree.

getbound()

how do i implement getbound() or is there any similar function that act as getbound()
leafletjs.com

var paths = {
circle: {
type: 'circle',
radius: geofence.radius,
latlngs: $scope.markers.marker,
clickable: false
}
};

circleBounds = paths.getBounds()

Returns the LatLngBounds of the circle (created from bounds and coordinates of its children).

ios not working

hello friends

i tried for ios but not getting notification.

any special setting i have to do ?

i already set notification mode on and added certificates into app for GCM and its working fine.

Geofence does not exist.

Download your app and i install it on my iphone 5

But its showing the following error in xcode console

2015-07-27 13:46:32.126 ionic-geofence[13371:c07] CDVPlugin class HWPGeofencePlugin (pluginName: GeofencePlugin) does not exist.
2015-07-27 13:46:32.126 ionic-geofence[13371:c07] ERROR: Plugin 'GeofencePlugin' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

Phonegap build error

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_PRIORITY_DEFAULT: 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/SwiftDatapartial.swiftdoc -O -module-name Ethiconomy -emit-module-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftDatapartial.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/SwiftyJsonpartial.swiftdoc -O -module-name Ethiconomy -emit-module-path /tmp/gimlet/2065222/project/build/Ethiconomy.build/Release-iphoneos/Ethiconomy.build/Objects-normal/arm64/SwiftyJsonpartial.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<String, AnyObject>?
^~~~~~~~~~~~~~~~~~~
/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<String, AnyObject>?' 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<Key, Value>, DictionaryIndex<Key, Value>), (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<String, AnyObject>?' 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<String, AnyObject>?' 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<String, AnyObject>?' 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)

Angular Not Defined Error

Angular Not Defined Error in console while debugger when place script url then injection error occur in console

OpenstreetMap is not getting displayed

On web browser it is working fine but when build for android, the map is not being displayed. I tried few different things found on stackoverflow but problem still remains the same.

On logs what i can see is following, which i believe is related to this:

I/chromium(19641): [INFO:CONSOLE(20306)] "Obtaining current location...", source: file:///android_asset/www/lib/ionic/js/ionic.bundle.js (20306)
I/chromium(19641): [INFO:CONSOLE(20306)] "Current location found", source: file:///android_asset/www/lib/ionic/js/ionic.bundle.js (20306)
I/chromium(19641): [INFO:CONSOLE(20306)] "[AngularJS - Leaflet] event-broadcast must be an object, check your model.", source: file:///android_asset/www/lib/ionic/js/ionic.bundle.js (20306)
W/BindingManager(19641): Cannot call determinedVisibility() - never saw a connection for the pid: 19641
I/chromium(19641): [INFO:CONSOLE(20306)] "TypeError: Cannot read property 'replace' of undefined
I/chromium(19641):     at Object.o.Util.template (file:///android_asset/www/lib/leaflet/dist/leaflet.js:6:1492)
I/chromium(19641):     at o.TileLayer.o.Class.extend.getTileUrl (file:///android_asset/www/lib/leaflet/dist/leaflet.js:7:6068)
I/chromium(19641):     at o.TileLayer.o.Class.extend._loadTile (file:///android_asset/www/lib/leaflet/dist/leaflet.js:7:7269)
I/chromium(19641):     at o.TileLayer.o.Class.extend._addTile (file:///android_asset/www/lib/leaflet/dist/leaflet.js:7:5679)
I/chromium(19641):     at o.TileLayer.o.Class.extend._addTilesFromCenterOut (file:///android_asset/www/lib/leaflet/dist/leaflet.js:7:4539)
I/chromium(19641):     at o.TileLayer.o.Class.extend._update (file:///android_asset/www/lib/leaflet/dist/leaflet.js:7:4038)
I/chromium(19641):     at o.TileLayer.o.Class.extend.onAdd (file:///android_asset/www/lib/leaflet/dist/leaflet.js:7:1201)
I/chromium(19641):     at o.Map.o.Class.extend._layerAdd (file:///android_asset/www/lib/leaflet/dist/leaflet.js:6:29891)
I/chromium(19641):     at o.Map.o.Class.extend.eachLayer (file:///android_asset/www/lib/leaflet/dist/leaflet.js:6:21947)
I/chromium(19641):     at o.Map.o.Class.extend._resetView (file:///android_asset/www/lib/leaflet/dist/leaflet.js:6:27534)", source: file:///android_asset/www/lib/ionic/js/ionic.bundle.js (20306)

Adding Geofences failed in Android

I am getting this error on my android phone. I have installed all the plugins and setup correctly. Application runs well on Samsung s4 and get the push notifications aswell, but not on Sony. I can create geofence but not Push notification. So I checked the ADB logs, and it shows the error "Adding Geofences failed"
Here's the ADB log

11-18 14:12:51.235 6556-6745/com.tsubik.ionicgeofence D/GeofencePlugin: GeofencePlugin execute action: addOrUpdate args: [{"id":"52ec0de2-6a73-4464-8afc-7396bb3496d5","latitude":23.6068435,"longitude":58.54160255,"radius":806,"transitionType":3,"notification":{"id":2,"title":"Ionic geofence example","text":"Hrhdhdhdhd","icon":"res:\/\/ic_menu_mylocation","openAppOnClick":true,"data":{"id":"52ec0de2-6a73-4464-8afc-7396bb3496d5","latitude":23.6068435,"longitude":58.54160255,"radius":806,"transitionType":3,"notification":{"id":2,"title":"Ionic geofence example","text":"Hrhdhdhdhd","icon":"res:\/\/ic_menu_mylocation","openAppOnClick":true}}}}]
11-18 14:12:51.303 6556-6745/com.tsubik.ionicgeofence D/GeofencePlugin: Connecting location client
11-18 14:12:51.306 6556-6745/com.tsubik.ionicgeofence W/PluginManager: THREAD WARNING: exec() call to GeofencePlugin.addOrUpdate blocked the main thread for 71ms. Plugin should use CordovaInterface.getThreadPool().
11-18 14:12:51.322 6556-6556/com.tsubik.ionicgeofence W/cr.BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 6556
11-18 14:12:51.324 6556-6556/com.tsubik.ionicgeofence D/GeofencePlugin: Google play services connected
11-18 14:12:51.324 6556-6556/com.tsubik.ionicgeofence D/GeofencePlugin: Adding new geofences
11-18 14:12:51.330 6556-6556/com.tsubik.ionicgeofence D/GeofencePlugin: Adding geofences failed

geofence circle not show

Hi,
i am trying to load a geofence in leaflet with google layer. It shows an exception in leaflet-src.js, "Cannot call method 'intersects' of undefined"
empty: function () {
return this._radius && !this._renderer._bounds.intersects(this._pxBounds);
}
please let me know the reason.

ionic run android fails

Hi,

Thank you for the nice work you have here. So I cloned the repo and after npm install, I tried ionic serve, which works fine. However ionic run android shows error below.

I thought this was an issue with play services so I installed both Google Play Services and Google Repository. Unfortunately, the error still persists.

Any help will be appreciated.
Thanks

A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
   > Could not find com.android.support:support-v4:24.0.0.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/android/support/support-v4/24.0.0/support-v4-24.0.0.pom
         https://repo1.maven.org/maven2/com/android/support/support-v4/24.0.0/support-v4-24.0.0.aar
         https://jcenter.bintray.com/com/android/support/support-v4/24.0.0/support-v4-24.0.0.pom
         https://jcenter.bintray.com/com/android/support/support-v4/24.0.0/support-v4-24.0.0.aar
         file:/usr/local/Cellar/android-sdk/24.3.4/extras/android/m2repository/com/android/support/support-v4/24.0.0/support-v4-24.0.0.pom
         file:/usr/local/Cellar/android-sdk/24.3.4/extras/android/m2repository/com/android/support/support-v4/24.0.0/support-v4-24.0.0.aar
         file:/usr/local/Cellar/android-sdk/24.3.4/extras/google/m2repository/com/android/support/support-v4/24.0.0/support-v4-24.0.0.pom
         file:/usr/local/Cellar/android-sdk/24.3.4/extras/google/m2repository/com/android/support/support-v4/24.0.0/support-v4-24.0.0.aar
     Required by:
         :android:unspecified > com.google.android.gms:play-services-location:9.6.1 > com.google.android.gms:play-services-basement:9.6.1

Doesn't compile with latest tool chain

$ ionic info

Your system information:

Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.8.6
ios-sim version: 3.1.1
OS: Mac OS X El Capitan
Node Version: v6.5.0
Xcode version: Xcode 8.0 Build version 8A218a

Code not working

I have downloded this code and woorked as directed but bro your code is not working in browser and also not working in android. Plz show me how to run it in android and ios ...

Error when compiling

After git clone the repository and add android platform, if I trigger ionic build android I get the following error:

Running command: C:\nodejs\node.exe c:\src\projects\ionic-geofence\hooks\after_prepare\010_add_platform_class.js c:\src\projects\ionic-geofence
add to body class: platform-android
Running command: C:\nodejs\node.exe c:\src\projects\ionic-geofence\hooks\after_prepare\020_remove_sass_from_platforms.js c:\src\projects\ionic-geofence
Running command: cmd "/s /c "c:\src\projects\ionic-geofence\platforms\android\cordova\build.bat --buildConfig=c:\src\projects\ionic-geofence\build.json""
ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_65
Reading build config file: c:\src\projects\ionic-geofence\build.json
Running: c:\src\projects\ionic-geofence\platforms\android\gradlew cdvBuildDebug -b c:\src\projects\ionic-geofence\platforms\android\build.gradle -Dorg.gradle.daemon=true

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
   > Could not find any version that matches com.google.android.gms:play-services-location:+.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/maven-metadata.xml
         https://repo1.maven.org/maven2/com/google/android/gms/play-services-location/
         file:/C:/Program Files (x86)/Android/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-location/maven-metadata.xml
         file:/C:/Program Files (x86)/Android/android-sdk/extras/android/m2repository/com/google/android/gms/play-services-location/
     Required by:
         :android:unspecified

BUILD FAILED

Total time: 8.207 secs

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

c:\src\projects\ionic-geofence\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                    ^
Error code 1 for command: cmd with args: /s /c "c:\src\projects\ionic-geofence\platforms\android\gradlew cdvBuildDebug -b c:\src\projects\ionic-geofence\platforms\android\build.gradle -Dorg.gradle.daemon=true"
ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: cmd: Command failed with exit code 1

black page. Folder lib not found

I have a blank page when I do "ionic serve" for the preview. I looked that the page cannot load some files from the lib directory. In fact lib directory does not exist...

Cannot add geofence on iOS device

Just downloaded your sample app, seems to work fine in the browser, however geofences are hard to test in a bowser, so I wanted to test on a real device. :)

I installed it on my iPhone 5S (iOS8) with ionic run ios … app starts up fine, all UI looks good. I hit the + button, $ionicLoading comes up trying to fetch the location and then it just goes away. No error message, just fades away and shows the start screen again. I expected the little native popup to come up whether I want to allow the app to access my location, but get nothing of the likes. Just fails silently.

Any idea how to debug this or what is going wrong?

Thanks a bunch for your work!

Failed to install geofence plugin

When I run this command
ionic platform add ios

Failed to install 'com.cowbell.cordova.geofence':Error: Cannot find module 'cordova-   lib/src/plugman/platforms'

An idea ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.