cowbell / cordova-plugin-geofence

Geofencing plugin for cordova
Apache License 2.0
265 stars 316 forks source link

Add a weak reference to Webkit framework for iOS #164

Closed Mitko-Kerezov closed 7 years ago

Mitko-Kerezov commented 8 years ago

The WKWebView class is referenced in the code here which requires a weak link to the Webkit framework. Without said weak link Xcode fails the build during the linking phase with the error:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_WKWebView", referenced from:
      function signature specialization <Arg[0] = Owned To Guaranteed and Exploded> of Cordova500.GeofencePlugin.evaluateJs (Swift.String) -> () in GeofencePlugin.o
tsubik commented 7 years ago

Thanks