我在我的ionic项目上安装了社区插件地理围栏。当我现在尝试构建项目时,构建失败。控制台输出为:
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:
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我想换成更早的版本可能会有帮助,但不知道是哪个版本。
谢谢你的帮助。
发布于 2019-12-30 17:08:24
请按照以下步骤操作。
https://stackoverflow.com/questions/59519526
复制相似问题