Angular 由于地理围栏插件,离子构建失败

Angular 由于地理围栏插件,离子构建失败,angular,cordova,ionic-framework,ionic2,ionic3,Angular,Cordova,Ionic Framework,Ionic2,Ionic3,我在我的爱奥尼亚项目上安装了社区插件GeoFenging。当我现在尝试构建项目时,构建失败。控制台输出为: The following build commands failed: CompileSwift normal x86_64 /Users/maius/Documents/unverpacktewahrheiten/platforms/ios/MyApp/Plugins/cordova-plugin-geofence/GeofencePlugin.swift

我在我的爱奥尼亚项目上安装了社区插件GeoFenging。当我现在尝试构建项目时,构建失败。控制台输出为:

The following build commands failed:
        CompileSwift normal x86_64 /Users/maius/Documents/unverpacktewahrheiten/platforms/ios/MyApp/Plugins/cordova-plugin-geofence/GeofencePlugin.swift
        CompileSwift normal x86_64 /Users/maius/Documents/unverpacktewahrheiten/platforms/ios/MyApp/Plugins/cordova-plugin-geofence/SwiftyJson.swift
        CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(3 failures)
xcodebuild: Command failed with exit code 65

我试图用git repo中的文件来更改这些文件,正如在其他一些问题中所解释的那样,但这并没有解决问题

这些是爱奥尼亚等的版本:

Ionic:

   Ionic CLI                     : 5.4.13 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.7
   @angular-devkit/build-angular : 0.801.3
   @angular-devkit/schematics    : 8.1.3
   @angular/cli                  : 8.1.3
   @ionic/angular-toolkit        : 2.1.1

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 9 other plugins)

Utility:

   cordova-res : not installed
   native-run  : 0.3.0

System:

   ios-deploy : 1.10.0
   ios-sim    : 8.0.2
   NodeJS     : v12.13.1 (/usr/local/bin/node)
   npm        : 6.13.4
   OS         : macOS Mojave
   Xcode      : Xcode 11.2.1 Build version 11B500

我认为它可以帮助改变到一个早期版本,但无法找出哪一个


感谢您的帮助。

请按照以下步骤进行操作

  • 卸载geofence插件
  • 卸载平台iOS
  • 安装geofence插件
  • 替换这3个文件(69)
  • 安装平台iOS
  • 构建成功