cowbell / cordova-plugin-geofence

Geofencing plugin for cordova
Apache License 2.0
264 stars 318 forks source link

ios crash #214

Open vigyanhoon opened 7 years ago

vigyanhoon commented 7 years ago

Hi,

I am getting a crash on iOS.

I have added following lines in config.xml

I did ionic state reset and then ionic build ios.

I opened xcworkspace and project had following error: “Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

I manually selected yes to Use Legacy Language Version in xcode build settings, which allowed me to install app on device. However after opening the app, following error causes crash:

screen shot 2017-03-24 at 1 28 38 pm
vigyanhoon commented 7 years ago

sqlite3_column_decltype(pStmt, i) is returning nil causing error: Execution was interrupted, reason: EXC_BAD_ACCESS (code=2, address=0xe4708). The process has been returned to the state before expression evaluation