Oh geez. Your build failed. Sorry, but a problem occurred on the build server.After adding geofence plugin it showing this error in ios.

  • 1
  • Problem
  • Updated 5 years ago
  • Not a Problem
Hi,
I am creating a cordova application with geofence functionality. After adding cordova-plugin-geofence , the ios build is showing the error as "Oh geez. Your build failed. Sorry, but a problem occurred on the build server.". Android build is success . Ios build is failing.

Can you please provide us a solution as fast as possible. We are stuck with this issue.
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@sneha,
you can check the status of the build server at any time at http://status.build.phonegap.com/

From your "error" message it says:

Android build is success . Ios build is failing.


This means you can test your Android app, but your iOS app needs some change.

please post your config.xml. please use some HTML. (see attached image)
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
Hi,

Yes when adding the "" , the android build is success. But the ios build is failing with the error "
sneha reubro less than a minute ago
Oh geez. Your build failed. Sorry, but a problem occurred on the build server". My appid :1618632

can you please sugest a solution asap. I am stuck with this issue and not able to make the ios build.

The config file that i used is:

Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
Dammm. forgot the image. FWIW your message makes no sense.

Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
Hi,

Ok, the whole config file that i used for my app with appid:1618632 is :


<?xml version='1.0' encoding='utf-8'?>
<widget id="com.batem.sample" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:gap="http://phonegap.com/ns/1.0">
<name>Bateaux Mouches</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="dev@cordova.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="index.html" />

<preference name="orientation" value="portrait" />
<preference name="fullscreen" value="true" />
<preference name="phonegap-version" value="cli-5.2.0" />
<preference name="webviewbounce" value="false" />
<preference name="stay-in-webview" value="false" />
<preference name="ios-statusbarstyle" value="black-transparent" />
<preference name="deployment-target" value="7.0" />
<preference name="android-build-tool" value="gradle" />

<preference name="android-minSdkVersion" value="14" />
<preference name="android-installLocation" value="auto" />
<preference name="prerendered-icon" value="false" />
<preference name="target-device" value="handset" />
<!-- <preference name="target-device" value="handset" /> -->
<preference name="AutoHideSplashScreen" value="false" />
<preference name="load-url-timeout" value="60000" />
<preference name="allow-inline-media-playback" value="true" />
<preference name="launch-mode" value="standard" />
<preference name="errorurl" value="error.html" />
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="exit-on-suspend" value="false" />
<preference name="DisallowOverscroll" value="true" />

<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="8000" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarBackgroundColor" value="#015291" />
<preference name="exit-on-suspend" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="iosPersistentFileLocation" value="Library" />

<gap:platform name="winphone"/>
<gap:platform name="ios"/>
<gap:platform name="android"/>

<icon src="img/Icons/icon.png"/>

<icon src="img/Icons/iphone.png" gap:platform="ios" width="57" height="57" />
<icon src="img/Icons/ipad.png" gap:platform="ios" width="72" height="72" />

<icon src="img/Icons/iphone_60.png" gap:platform="ios" width="60" height="60" />
<icon src="img/Icons/iphone_120.png" gap:platform="ios" width="120" height="120" />

<icon src="img/Icons/ldpi.png" gap:platform="android" gap:density="ldpi" />
<icon src="img/Icons/mdpi.png" gap:platform="android" gap:density="mdpi" />
<icon src="img/Icons/hdpi.png" gap:platform="android" gap:density="hdpi" />
<icon src="img/Icons/xhdpi.png" gap:platform="android" gap:density="xhdpi" />

<gap:splash src="img/splashes/screen.png" />

<gap:splash src="img/splashes/iphone.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="img/splashes/iphoneretina.png" gap:platform="ios" width="640" height="960" />
<gap:splash src="img/splashes/iphoneretina5.png" gap:platform="ios" width="640" height="1136" />
<gap:splash src="img/splashes/iphone6.png" gap:platform="ios" width="750" height="1334" />
<gap:splash src="img/splashes/ipadp.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="img/splashes/ldpi.png" gap:platform="android" gap:density="ldpi" />
<gap:splash src="img/splashes/mdpi.png" gap:platform="android" gap:density="mdpi" />
<gap:splash src="img/splashes/hdpi.png" gap:platform="android" gap:density="hdpi" />
<gap:splash src="img/splashes/xhdpi.png" gap:platform="android" gap:density="xhdpi" />

<gap:plugin name="cordova-plugin-whitelist" source="npm" version="1.0.0" />

<gap:plugin name="cordova-plugin-geofence" source="npm" version="0.5.0" />

<gap:plugin name="cordova-plugin-android-support-v4" source="npm" />

<gap:plugin name=" cordova-plugin-media" source="npm" />

<gap:plugin name="net.yoik.cordova.plugins.screenorientation" version="1.3.1" />

<gap:plugin name="cordova-plugin-inappbrowser" source="npm" version="1.0.1" />

<gap:plugin name="cordova-plugin-device" source="npm" version="1.0.1" />

<gap:plugin name="cordova-plugin-dialogs" source="npm" version="1.1.1" />

<gap:plugin name="cordova-plugin-file" source="npm" version="3.0.0" />

<gap:plugin name="cordova-plugin-splashscreen" source="npm" />
<gap:plugin name="cordova-plugin-geolocation" source="npm" version="1.0.1" />

<gap:plugin name="cordova-plugin-globalization" source="npm" version="1.0.1" />

<gap:plugin name="cordova-plugin-googleplayservices" source="npm" version="19.0.3" />

<gap:plugin name="es6-promise-plugin" source="npm" />

<gap:plugin name="hu.dpal.phonegap.plugins.spinnerdialog" version="1.2.0" />
<gap:plugin name="nl.x-services.plugins.insomnia" source="pgb" version="4.0.1" />

<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />

</platform>

<gap:config-file platform="ios" parent="UIStatusBarHidden">
<false/>
</gap:config-file>

<gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance">
<false/>
</gap:config-file>
<gap:config-file platform="ios" parent="UIBackgroundModes" overwrite="true">
<array>
<string>audio</string>
</array>
</gap:config-file>

</widget>



can you please suggest a solution for this issue.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
You have several mistakes.

1) You have an extra space. Unlikely causing problems, but best to fix.
<gap:plugin name=" cordova-plugin-media" source="npm" />

2) platform is NOT a valid Phonegap Build element. Please read #1 of Top Mistakes by Developers new to Cordova/Phonegap
Move the those elements inside `platform` outside and remove the `platform` XML element.

<platform name="android">
(...)
</platform>


3) If you are still having problems remove the config-file elements (for now):

<gap:config-file platform="ios" (...)


If you can build now, add the config-file elements, one at a time.

If you still cannot build, let me know.

Jesse
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
Hi,

Thank you for the fast response. I had corrected the mistakes that you had mention and also try the 3 methods. But still the build fails if the cordova-plugin-geofence is added.


<gap:plugin name="cordova-plugin-geofence" source="npm" version="0.5.0" />


1)If the latest version of this plugin ie. 0.5.0 is added, then no other plugins are getting installed.

2)if the 0.4.2 plugin is added then the android build is getting success and all other plugins get installed but ios build fails.

My new config file is this:

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.batem.sample" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" xmlns:gap="http://phonegap.com/ns/1.0">
<name>Bateaux Mouches</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="dev@cordova.apache.org" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="index.html" />

<preference name="orientation" value="portrait" />
<preference name="fullscreen" value="true" />
<preference name="phonegap-version" value="cli-5.2.0" />
<preference name="webviewbounce" value="false" />
<preference name="stay-in-webview" value="false" />
<preference name="ios-statusbarstyle" value="black-transparent" />
<preference name="deployment-target" value="8.0" />
<preference name="android-build-tool" value="gradle" />

<preference name="android-minSdkVersion" value="14" />
<preference name="android-installLocation" value="auto" />
<preference name="prerendered-icon" value="false" />
<preference name="target-device" value="handset" />
<preference name="AutoHideSplashScreen" value="false" />
<preference name="load-url-timeout" value="60000" />
<preference name="allow-inline-media-playback" value="true" />
<preference name="launch-mode" value="standard" />
<preference name="errorurl" value="error.html" />
<preference name="ShowSplashScreenSpinner" value="false"/>
<preference name="exit-on-suspend" value="false" />
<preference name="DisallowOverscroll" value="true" />

<preference name="SplashScreen" value="screen" />
<preference name="SplashScreenDelay" value="8000" />
<preference name="StatusBarOverlaysWebView" value="true" />
<preference name="StatusBarBackgroundColor" value="#015291" />
<preference name="exit-on-suspend" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="iosPersistentFileLocation" value="Library" />

<gap:platform name="winphone"/>
<gap:platform name="ios"/>
<gap:platform name="android"/>

<icon src="img/Icons/icon.png"/>

<icon src="img/Icons/iphone.png" gap:platform="ios" width="57" height="57" />
<icon src="img/Icons/ipad.png" gap:platform="ios" width="72" height="72" />

<icon src="img/Icons/iphone_60.png" gap:platform="ios" width="60" height="60" />
<icon src="img/Icons/iphone_120.png" gap:platform="ios" width="120" height="120" />

<icon src="img/Icons/ldpi.png" gap:platform="android" gap:density="ldpi" />
<icon src="img/Icons/mdpi.png" gap:platform="android" gap:density="mdpi" />
<icon src="img/Icons/hdpi.png" gap:platform="android" gap:density="hdpi" />
<icon src="img/Icons/xhdpi.png" gap:platform="android" gap:density="xhdpi" />

<gap:splash src="img/splashes/screen.png" />

<gap:splash src="img/splashes/iphone.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="img/splashes/iphoneretina.png" gap:platform="ios" width="640" height="960" />
<gap:splash src="img/splashes/iphoneretina5.png" gap:platform="ios" width="640" height="1136" />
<gap:splash src="img/splashes/iphone6.png" gap:platform="ios" width="750" height="1334" />
<gap:splash src="img/splashes/ipadp.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="img/splashes/ldpi.png" gap:platform="android" gap:density="ldpi" />
<gap:splash src="img/splashes/mdpi.png" gap:platform="android" gap:density="mdpi" />
<gap:splash src="img/splashes/hdpi.png" gap:platform="android" gap:density="hdpi" />
<gap:splash src="img/splashes/xhdpi.png" gap:platform="android" gap:density="xhdpi" />

<gap:plugin name="cordova-plugin-whitelist" source="npm" version="1.0.0" />

<gap:plugin name="cordova-plugin-geofence" source="npm" version="0.5.0" />

<gap:plugin name="cordova-plugin-android-support-v4" source="npm" />

<gap:plugin name="cordova-plugin-media" source="npm" />

<gap:plugin name="net.yoik.cordova.plugins.screenorientation" version="1.3.1" />

<gap:plugin name="cordova-plugin-inappbrowser" source="npm" version="1.0.1" />

<gap:plugin name="cordova-plugin-device" source="npm" version="1.0.1" />

<gap:plugin name="cordova-plugin-dialogs" source="npm" version="1.1.1" />

<gap:plugin name="cordova-plugin-file" source="npm" version="3.0.0" />

<gap:plugin name="cordova-plugin-splashscreen" source="npm" />

<gap:plugin name="cordova-plugin-geolocation" source="npm" version="1.0.1" />

<gap:plugin name="cordova-plugin-globalization" source="npm" version="1.0.1" />

<gap:plugin name="cordova-plugin-googleplayservices" source="npm" version="19.0.3" />

<gap:plugin name="es6-promise-plugin" source="npm" />

<gap:plugin name="hu.dpal.phonegap.plugins.spinnerdialog" version="1.2.0" />

<gap:plugin name="nl.x-services.plugins.insomnia" source="pgb" version="4.0.1" />

<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<allow-intent href="market:*" />
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />

</widget>



Can you please suggest a way to solve this problem. We are stuck with this issue and the project delivery date is close.
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Look like the plugin 'cordova-plugin-geofence' uses gradle to build. Try add gradle preference in your config.xml.
<preference name="android-build-tool" value="gradle" />
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
Hi,
I have already added

<preference name="android-build-tool" value="gradle" />


in my config.xml, but still it showing error for ios build.
1)Android build is success after adding the 0.4.2 version of geofence plugin

But in all caes ios build is failing.
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
Hi,

Thank yoou for the response. We try as per your suggestion. we recreated the cert +provision profile. But it produces same error "Oh geez. Your build failed , there is some problem in build server." If add the geofence plugin , then it shows this error , when we remove geofence plugin the build for android,ios and windows it showing success.
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@sneha,
Your delivery date is not my problem. It is your problem. If it is troubling you, consider another line of work.

Please post your "error log". In the meantime, remove all plugins, then add one at at time until you find your problem.

Jesse
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
Hi,

Thank you for the fast response. Since we are stuck with this issue,we want to troubleshoot it as soon as possible.
Ok ,We had created an application only with a single pllugin "cordova-plugin-geofence with 0.5.0 version" and when we try to build the ios, android and windows build is getting failed.

The error log that we get for ios build is:


swift:21:49: error: use of undeclared type 'CDVPlugin'
@objc(HWPGeofencePlugin) class GeofencePlugin : CDVPlugin {
^~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:21:2: error: only classes that inherit from NSObject can be declared @objc
@objc(HWPGeofencePlugin) class GeofencePlugin : CDVPlugin {
~^~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:201:42: error: use of undeclared type 'CLLocationManagerDelegate'
class GeoNotificationManager : NSObject, CLLocationManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:25:19: error: method does not override any method from its superclass
override func pluginInitialize () {
~~~~~~~~ ^
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:41:30: error: use of undeclared type 'CDVInvokedUrlCommand'
func initialize(command: CDVInvokedUrlCommand) {
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:57:31: error: use of undeclared type 'CDVInvokedUrlCommand'
func deviceReady(command: CDVInvokedUrlCommand) {
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:62:24: error: use of undeclared type 'CDVInvokedUrlCommand'
func ping(command: CDVInvokedUrlCommand) {
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:76:31: error: use of undeclared type 'CDVInvokedUrlCommand'
func addOrUpdate(command: CDVInvokedUrlCommand) {
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:89:30: error: use of undeclared type 'CDVInvokedUrlCommand'
func getWatched(command: CDVInvokedUrlCommand) {
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:100:26: error: use of undeclared type 'CDVInvokedUrlCommand'
func remove(command: CDVInvokedUrlCommand) {
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:112:29: error: use of undeclared type 'CDVInvokedUrlCommand'
func removeAll(command: CDVInvokedUrlCommand) {
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:202:27: error: use of unresolved identifier 'CLLocationManager'
let locationManager = CLLocationManager()
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:287:44: error: use of undeclared type 'CLRegion'
func getMonitoredRegion(id: String) -> CLRegion? {
^~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:316:35: error: use of undeclared type 'CLLocationManager'
func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:316:85: error: use of undeclared type 'CLLocation'
func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
^~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:320:35: error: use of undeclared type 'CLLocationManager'
func locationManager(manager: CLLocationManager, didFailWithError error: NSError) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:324:35: error: use of undeclared type 'CLLocationManager'
func locationManager(manager: CLLocationManager, didFinishDeferredUpdatesWithError error: NSError?) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:328:35: error: use of undeclared type 'CLLocationManager'
func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:328:77: error: use of undeclared type 'CLRegion'
func locationManager(manager: CLLocationManager, didEnterRegion region: CLRegion) {
^~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:333:35: error: use of undeclared type 'CLLocationManager'
func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:333:76: error: use of undeclared type 'CLRegion'
func locationManager(manager: CLLocationManager, didExitRegion region: CLRegion) {
^~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:338:35: error: use of undeclared type 'CLLocationManager'
func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:338:90: error: use of undeclared type 'CLRegion'
func locationManager(manager: CLLocationManager, didStartMonitoringForRegion region: CLRegion) {
^~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:346:35: error: use of undeclared type 'CLLocationManager'
func locationManager(manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:346:79: error: use of undeclared type 'CLRegionState'
func locationManager(manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion) {
^~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:346:112: error: use of undeclared type 'CLRegion'
func locationManager(manager: CLLocationManager, didDetermineState state: CLRegionState, forRegion region: CLRegion) {
^~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:350:35: error: use of undeclared type 'CLLocationManager'
func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:350:89: error: use of undeclared type 'CLRegion'
func locationManager(manager: CLLocationManager, monitoringDidFailForRegion region: CLRegion?, withError error: NSError) {
^~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:354:35: error: use of undeclared type 'CLRegion'
func handleTransition(region: CLRegion!, transitionType: Int) {
^~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:53:28: error: use of unresolved identifier 'CDVPluginResult'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:53:52: error: use of unresolved identifier 'CDVCommandStatus_OK'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:54:9: error: use of unresolved identifier 'commandDelegate'
commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:58:28: error: use of unresolved identifier 'CDVPluginResult'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:58:52: error: use of unresolved identifier 'CDVCommandStatus_OK'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:59:9: error: use of unresolved identifier 'commandDelegate'
commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:64:28: error: use of unresolved identifier 'CDVPluginResult'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:64:52: error: use of unresolved identifier 'CDVCommandStatus_OK'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:65:9: error: use of unresolved identifier 'commandDelegate'
commandDelegate!.sendPluginResult(pluginResult, callbackId: command.callbackId)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:69:9: error: use of unresolved identifier 'UIApplication'
UIApplication.sharedApplication().registerUserNotificationSettings(UIUserNotificationSettings(
^~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:69:76: error: use of unresolved identifier 'UIUserNotificationSettings'
UIApplication.sharedApplication().registerUserNotificationSettings(UIUserNotificationSettings(
^~~~~~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:70:24: error: use of unresolved identifier 'UIUserNotificationType'
forTypes: [UIUserNotificationType.Sound, UIUserNotificationType.Alert, UIUserNotificationType.Badge],
^~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:70:54: error: use of unresolved identifier 'UIUserNotificationType'
forTypes: [UIUserNotificationType.Sound, UIUserNotificationType.Alert, UIUserNotificationType.Badge],
^~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:70:84: error: use of unresolved identifier 'UIUserNotificationType'
forTypes: [UIUserNotificationType.Sound, UIUserNotificationType.Alert, UIUserNotificationType.Badge],
^~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:83:36: error: use of unresolved identifier 'CDVPluginResult'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:83:60: error: use of unresolved identifier 'CDVCommandStatus_OK'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:94:36: error: use of unresolved identifier 'CDVPluginResult'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK, messageAsString: watchedJsonString)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:94:60: error: use of unresolved identifier 'CDVCommandStatus_OK'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK, messageAsString: watchedJsonString)
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:106:36: error: use of unresolved identifier 'CDVPluginResult'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:106:60: error: use of unresolved identifier 'CDVCommandStatus_OK'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:116:36: error: use of unresolved identifier 'CDVPluginResult'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:116:60: error: use of unresolved identifier 'CDVCommandStatus_OK'
let pluginResult = CDVPluginResult(status: CDVCommandStatus_OK)
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:134:12: error: use of unresolved identifier 'UIApplication'
if UIApplication.sharedApplication().applicationState != UIApplicationState.Active {
^~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:134:66: error: use of unresolved identifier 'UIApplicationState'
if UIApplication.sharedApplication().applicationState != UIApplicationState.Active {
^~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:136:61: error: use of undeclared type 'UILocalNotification'
if let uiNotification = notification.object as? UILocalNotification {
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:148:12: error: use of unresolved identifier 'webView'
if webView != nil {
^~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:149:13: error: use of unresolved identifier 'webView'
webView!.stringByEvaluatingJavaScriptFromString(script)
^~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:209:43: error: use of unresolved identifier 'kCLLocationAccuracyBest'
locationManager.desiredAccuracy = kCLLocationAccuracyBest
^~~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:210:14: error: use of unresolved identifier 'CLLocationManager'
if (!CLLocationManager.locationServicesEnabled()) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:216:14: error: use of unresolved identifier 'CLLocationManager'
if (!CLLocationManager.isMonitoringAvailableForClass(CLRegion)) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:216:62: error: use of unresolved identifier 'CLRegion'
if (!CLLocationManager.isMonitoringAvailableForClass(CLRegion)) {
^~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:232:24: error: use of unresolved identifier 'CLLocationCoordinate2DMake'
let location = CLLocationCoordinate2DMake(
^~~~~~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:237:63: error: use of undeclared type 'CLLocationDistance'
let radius = geoNotification["radius"].doubleValue as CLLocationDistance
^~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:241:22: error: use of unresolved identifier 'CLCircularRegion'
let region = CLCircularRegion(center: location, radius: radius, identifier: id)
^~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:256:14: error: use of unresolved identifier 'CLLocationManager'
if (!CLLocationManager.locationServicesEnabled()) {
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:260:26: error: use of unresolved identifier 'CLLocationManager'
let authStatus = CLLocationManager.authorizationStatus()
^~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:262:27: error: use of unresolved identifier 'CLAuthorizationStatus'
if (authStatus != CLAuthorizationStatus.AuthorizedAlways) {
^~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:266:39: error: use of unresolved identifier 'UIApplication'
if let notificationSettings = UIApplication.sharedApplication().currentUserNotificationSettings() {
^~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:368:28: error: use of unresolved identifier 'UILocalNotification'
let notification = UILocalNotification()
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:372:34: error: use of unresolved identifier 'UILocalNotificationDefaultSoundName'
notification.soundName = UILocalNotificationDefaultSoundName
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift:377:9: error: use of unresolved identifier 'UIApplication'
UIApplication.sharedApplication().scheduleLocalNotification(notification)
^~~~~~~~~~~~~

CompileSwift normal arm64 /project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift
cd /project
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift -primary-file /project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift /project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftyJson.swift -target arm64-apple-ios7.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -I /project/build -F /project/build -g -serialize-debugging-options -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/swift-overrides.hmap -Xcc -iquote -Xcc /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/BateauxMouches-generated-files.hmap -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/BateauxMouches-own-target-headers.hmap -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/BateauxMouches-all-target-headers.hmap -Xcc -iquote -Xcc /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/BateauxMouches-project-headers.hmap -Xcc -I/project/build/include -Xcc -I/project/build/usr/local/lib/include -Xcc -I/project/build/UninstalledProducts/include -Xcc -I/project/build -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/DerivedSources/arm64 -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/DerivedSources -Xcc -working-directory/project -emit-module-doc-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftData~partial.swiftdoc -O -module-name BateauxMouches -emit-module-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftData~partial.swiftmodule -serialize-diagnostics-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftData.dia -emit-dependencies-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftData.d -emit-reference-dependencies-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftData.swiftdeps -o /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftData.o
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1072:26: error: use of unresolved identifier 'sqlite3_open'
let status = sqlite3_open(dbPath.cStringUsingEncoding(NSUTF8StringEncoding)!, &sqliteDB)
^~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1073:26: error: use of unresolved identifier 'SQLITE_OK'
if status != SQLITE_OK {
^~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1076:52: error: use of unresolved identifier 'sqlite3_errmsg'
if let errMsg = String.fromCString(sqlite3_errmsg(SQLiteDB.sharedInstance.sqliteDB)) {
^~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1119:26: error: use of unresolved identifier 'sqlite3_open_v2'
let status = sqlite3_open_v2(dbPath.cStringUsingEncoding(NSUTF8StringEncoding)!, &sqliteDB, flags, nil)
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1120:26: error: use of unresolved identifier 'SQLITE_OK'
if status != SQLITE_OK {
^~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1123:52: error: use of unresolved identifier 'sqlite3_errmsg'
if let errMsg = String.fromCString(sqlite3_errmsg(SQLiteDB.sharedInstance.sqliteDB)) {
^~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1149:26: error: use of unresolved identifier 'sqlite3_close'
let status = sqlite3_close(sqliteDB)
^~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1150:26: error: use of unresolved identifier 'SQLITE_OK'
if status != SQLITE_OK {
^~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1153:52: error: use of unresolved identifier 'sqlite3_errmsg'
if let errMsg = String.fromCString(sqlite3_errmsg(SQLiteDB.sharedInstance.sqliteDB)) {
^~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1187:26: error: use of unresolved identifier 'sqlite3_close'
let status = sqlite3_close(sqliteDB)
^~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1193:26: error: use of unresolved identifier 'SQLITE_OK'
if status != SQLITE_OK {
^~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1196:52: error: use of unresolved identifier 'sqlite3_errmsg'
if let errMsg = String.fromCString(sqlite3_errmsg(SQLiteDB.sharedInstance.sqliteDB)) {
^~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1295:22: error: use of unresolved identifier 'sqlite3_last_insert_rowid'
let id = sqlite3_last_insert_rowid(sqliteDB)
^~~~~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1302:24: error: use of unresolved identifier 'sqlite3_changes'
return Int(sqlite3_changes(sqliteDB))
^~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1310:20: error: use of unresolved identifier 'sqlite3_column_type'
if sqlite3_column_type(statement, index) == SQLITE_NULL {
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1310:61: error: use of unresolved identifier 'SQLITE_NULL'
if sqlite3_column_type(statement, index) == SQLITE_NULL {
^~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1313:28: error: use of unresolved identifier 'sqlite3_column_int'
return Int(sqlite3_column_int(statement, index))
^~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1315:48: error: use of unresolved identifier 'sqlite3_column_text'
let text = UnsafePointer<Int8>(sqlite3_column_text(statement, index))
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1318:28: error: use of unresolved identifier 'sqlite3_column_blob'
let blob = sqlite3_column_blob(statement, index)
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1320:32: error: use of unresolved identifier 'sqlite3_column_bytes'
let size = sqlite3_column_bytes(statement, index)
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1325:20: error: use of unresolved identifier 'sqlite3_column_type'
if sqlite3_column_type(statement, index) == SQLITE_NULL {
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1325:61: error: use of unresolved identifier 'SQLITE_NULL'
if sqlite3_column_type(statement, index) == SQLITE_NULL {
^~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1328:31: error: use of unresolved identifier 'sqlite3_column_double'
return Double(sqlite3_column_double(statement, index))
^~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1330:20: error: use of unresolved identifier 'sqlite3_column_type'
if sqlite3_column_type(statement, index) == SQLITE_NULL {
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1330:61: error: use of unresolved identifier 'SQLITE_NULL'
if sqlite3_column_type(statement, index) == SQLITE_NULL {
^~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1333:24: error: use of unresolved identifier 'sqlite3_column_int'
return sqlite3_column_int(statement, index) != 0
^~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1337:48: error: use of unresolved identifier 'sqlite3_column_text'
let text = UnsafePointer<Int8>(sqlite3_column_text(statement, index))
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1367:26: error: use of unresolved identifier 'sqlite3_prepare_v2'
var status = sqlite3_prepare_v2(SQLiteDB.sharedInstance.sqliteDB, sql, -1, &pStmt, nil)
^~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1368:26: error: use of unresolved identifier 'SQLITE_OK'
if status != SQLITE_OK {
^~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1371:52: error: use of unresolved identifier 'sqlite3_errmsg'
if let errMsg = String.fromCString(sqlite3_errmsg(SQLiteDB.sharedInstance.sqliteDB)) {
^~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1374:17: error: use of unresolved identifier 'sqlite3_finalize'
sqlite3_finalize(pStmt)
^~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1378:22: error: use of unresolved identifier 'sqlite3_step'
status = sqlite3_step(pStmt)
^~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1379:26: error: use of unresolved identifier 'SQLITE_DONE'
if status != SQLITE_DONE && status != SQLITE_OK {
^~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1379:51: error: use of unresolved identifier 'SQLITE_OK'
if status != SQLITE_DONE && status != SQLITE_OK {
^~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1382:52: error: use of unresolved identifier 'sqlite3_errmsg'
if let errMsg = String.fromCString(sqlite3_errmsg(SQLiteDB.sharedInstance.sqliteDB)) {
^~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1385:17: error: use of unresolved identifier 'sqlite3_finalize'
sqlite3_finalize(pStmt)
^~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1389:13: error: use of unresolved identifier 'sqlite3_finalize'
sqlite3_finalize(pStmt)
^~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1410:26: error: use of unresolved identifier 'sqlite3_prepare_v2'
var status = sqlite3_prepare_v2(SQLiteDB.sharedInstance.sqliteDB, sql, -1, &pStmt, nil)
^~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1411:26: error: use of unresolved identifier 'SQLITE_OK'
if status != SQLITE_OK {
^~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1414:52: error: use of unresolved identifier 'sqlite3_errmsg'
if let errMsg = String.fromCString(sqlite3_errmsg(SQLiteDB.sharedInstance.sqliteDB)) {
^~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1417:17: error: use of unresolved identifier 'sqlite3_finalize'
sqlite3_finalize(pStmt)
^~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1424:26: error: use of unresolved identifier 'sqlite3_step'
status = sqlite3_step(pStmt)
^~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1425:30: error: use of unresolved identifier 'SQLITE_ROW'
if status == SQLITE_ROW {
^~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1426:35: error: use of unresolved identifier 'sqlite3_column_count'
columnCount = sqlite3_column_count(pStmt)
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1429:61: error: use of unresolved identifier 'sqlite3_column_name'
let columnName = String.fromCString(sqlite3_column_name(pStmt, i))!
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1430:64: error: use of unresolved identifier 'sqlite3_column_decltype'
if let columnType = String.fromCString(sqlite3_column_decltype(pStmt, i))?.uppercaseString {
^~~~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1436:36: error: use of unresolved identifier 'sqlite3_column_type'
switch sqlite3_column_type(pStmt, i) {
^~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1456:37: error: use of unresolved identifier 'SQLITE_DONE'
} else if status == SQLITE_DONE {
^~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1461:56: error: use of unresolved identifier 'sqlite3_errmsg'
if let errMsg = String.fromCString(sqlite3_errmsg(SQLiteDB.sharedInstance.sqliteDB)) {
^~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1464:21: error: use of unresolved identifier 'sqlite3_finalize'
sqlite3_finalize(pStmt)
^~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1470:13: error: use of unresolved identifier 'sqlite3_finalize'
sqlite3_finalize(pStmt)
^~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1816:24: error: use of unresolved identifier 'SQLITE_OPEN_READONLY'
return SQLITE_OPEN_READONLY
^~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1818:24: error: use of unresolved identifier 'SQLITE_OPEN_READWRITE'
return SQLITE_OPEN_READWRITE
^~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1820:24: error: use of unresolved identifier 'SQLITE_OPEN_READWRITE'
return SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE
^~~~~~~~~~~~~~~~~~~~~
/project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift:1820:48: error: use of unresolved identifier 'SQLITE_OPEN_CREATE'
return SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE
^~~~~~~~~~~~~~~~~~

CompileSwift normal arm64 /project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftyJson.swift
cd /project
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift /project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift -primary-file /project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftyJson.swift -target arm64-apple-ios7.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -I /project/build -F /project/build -g -serialize-debugging-options -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/swift-overrides.hmap -Xcc -iquote -Xcc /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/BateauxMouches-generated-files.hmap -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/BateauxMouches-own-target-headers.hmap -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/BateauxMouches-all-target-headers.hmap -Xcc -iquote -Xcc /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/BateauxMouches-project-headers.hmap -Xcc -I/project/build/include -Xcc -I/project/build/usr/local/lib/include -Xcc -I/project/build/UninstalledProducts/include -Xcc -I/project/build -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/DerivedSources/arm64 -Xcc -I/project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/DerivedSources -Xcc -working-directory/project -emit-module-doc-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftyJson~partial.swiftdoc -O -module-name BateauxMouches -emit-module-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftyJson~partial.swiftmodule -serialize-diagnostics-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftyJson.dia -emit-dependencies-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftyJson.d -emit-reference-dependencies-path /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftyJson.swiftdeps -o /project/build/BateauxMouches.build/Release-iphoneos/BateauxMouches.build/Objects-normal/arm64/SwiftyJson.o

** BUILD FAILED **

The following build commands failed:
CompileSwift normal arm64 /project/BateauxMouches/Plugins/cordova-plugin-geofence/GeofencePlugin.swift
CompileSwift normal arm64 /project/BateauxMouches/Plugins/cordova-plugin-geofence/SwiftData.swift
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(3 failures)

Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
@sneha,
Sadly, there is not much I can do, except suggest you try another plugin.

The github site says the iOS is not building.
And in the last few days neither is Android.

https://github.com/cowbell/cordova-pl...
https://github.com/cowbell/cordova-pl...

Jesse
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
Hi,

Thank you for the response . :(
Can you please suggest a plugin which support both ios and android
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
HI,

Thank you for the quick response. Actually we are developing for windows platform also, so we need a plugin which support android,ios and windows
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
As you may have noticed, none of the other plugins carry the Windows logo.

So, your options are:
1. Develop your own plugin or have someone develop it for you
2. Hang around here, complain about your current plugin for another week, and hope for a miracle
3. Use the current plugin and forget about iOS
4. Use another plugin and forget about WinPhone
5. Make two builds, each using its own plugin and have something for all three OS.

The latter meets your requirement to have the app for the 3 OS, but it requires additional work.

BTW: in this whole thread, you never mentioned WinPhone. In your config files, as posted by you, there are no icons and splashes for 'winphone'. You never mentioned whether or not the WinPhone build succeeded. Where does your sudden interest in building for Windows come from?
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
OFF TOPIC. Please start a new thread.
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Why? Isn't this still about the geofence plugin?
Photo of JesseMonroy650 (Volunteer)

JesseMonroy650 (Volunteer), Champion

  • 3325 Posts
  • 122 Reply Likes
My mistake. Can't delete that post.
Photo of sneha reubro

sneha reubro

  • 33 Posts
  • 0 Reply Likes
Hi,

Actually now we are developing the application for windows, ios and android platforms. But now in config we had given only for ios and android. The client requires ios and androiid build now.