Telerik-Verified-Plugins / Geofencing

Geofencing plugin for cordova, Telerik Platform compatible
Apache License 2.0
4 stars 2 forks source link

Add a weak reference to Webkit framework for iOS #2

Closed Mitko-Kerezov closed 8 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

Ping @EddyVerbruggen Note that I will open a PR in the upstream too, however I don't know if that will be merged or not, so I'm opening one here too.

EddyVerbruggen commented 8 years ago

Thanks, looks good! I can't tag and release stuff atm though (vacation).

EddyVerbruggen commented 8 years ago

Found some WiFi - tested and tagged. Cheers!