【问题标题】:cordova-plugin-geofence error on ios ionicios ionic上的cordova-plugin-geofence错误
【发布时间】:2018-10-12 00:24:37
【问题描述】:

我已经在我的项目中安装了 cordova-plugin-geofence,但是当我尝试构建它时会出现以下错误:-

以下构建命令失败:

CompileSwift normal arm64 /Users/itr/Desktop/richboy/platforms/ios/OnTheList/Plugins/cordova-plugin-geofence/GeofencePlugin.swift
    CompileSwift normal arm64 /Users/itr/Desktop/richboy/platforms/ios/OnTheList/Plugins/cordova-plugin-geofence/SwiftData.swift
    CompileSwift normal arm64 /Users/itr/Desktop/richboy/platforms/ios/OnTheList/Plugins/cordova-plugin-geofence/SwiftyJson.swift
    CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(4 failures)

Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/itr/Desktop/richboy/platforms/ios/cordova/build-debug.xcconfig,-workspace,OnTheList.xcworkspace,-scheme,OnTheList,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,OnTheList.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/itr/Desktop/richboy/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/itr/Desktop/richboy/platforms/ios/build/sharedpch

如何解决这些错误?

【问题讨论】:

    标签: ios ionic-framework cordova-plugins


    【解决方案1】:

    这个解决方案对我有用

    转到您的project->platforms->ios->projectName(folder)->plugins->cordova-plugin-geofence

    您将找到四个文件。 用这个文件内容替换这个文件https://github.com/ypelud/cordova-plugin-geofence/tree/d2e1f22340ac2cd07559598fd290df462e75055d/src/ios

    【讨论】:

      猜你喜欢
      • 2020-04-27
      • 2016-12-26
      • 1970-01-01
      • 1970-01-01
      • 2018-06-18
      • 2017-01-24
      • 1970-01-01
      • 1970-01-01
      • 2016-12-22
      相关资源
      最近更新 更多