Ionic native geofence plugin not working on ios


#1

Hi All,

I’m using ionic’s Geofence plugin in a project but i’m getting compiling errors when building it for ios. The error is:

The following build commands failed:
CompileSwift normal x86_64 /Users/kanishk/Desktop/geofenceDemo2/platforms/ios/geofenceDemo2/Plugins/cordova-plugin-geofence/GeofencePlugin.swift
CompileSwift normal x86_64 /Users/kanishk/Desktop/geofenceDemo2/platforms/ios/geofenceDemo2/Plugins/cordova-plugin-geofence/SwiftData.swift
CompileSwift normal x86_64 /Users/kanishk/Desktop/geofenceDemo2/platforms/ios/geofenceDemo2/Plugins/cordova-plugin-geofence/SwiftyJson.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(4 failures)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/kanishk/Desktop/geofenceDemo2/platforms/ios/cordova/build-debug.xcconfig,-workspace,geofenceDemo2.xcworkspace,-scheme,geofenceDemo2,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/kanishk/Desktop/geofenceDemo2/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/kanishk/Desktop/geofenceDemo2/platforms/ios/build/sharedpch

If anyone else has faced this type of issue, can you please help me out ?

Thanks