[英]cordova-plugin-geofence error on ios ionic
我已經在我的項目中安裝了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
如何解決這些錯誤?
這個解決方案對我有用
轉到您的project->platforms->ios->projectName(folder)->plugins->cordova-plugin-geofence
您會找到四個文件。 將此文件替換為此文件內容https://github.com/ypelud/cordova-plugin-geofence/tree/d2e1f22340ac2cd07559598fd290df462e75055d/src/ios
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.