在添加Geolocator插件遇到一些麻烦之后无法正常工作。我从pubspec.yaml中删除了Geolocator,但是现在该项目无法为ios构建。 我尝试了2天没有成功,包括:
还有很多我现在不记得了。
中的重复符号_OBJC_IVAR _ $ _ MDMPasscodeCache._localAuthenticationInfo: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) 重复符号_OBJC_IVAR _ $ _ MDMPasscodeCache._keychainInfo在: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) 重复符号_OBJC_IVAR _ $ _ MDMPasscodeCache._hasLocalAuthentication在: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) 重复符号_OBJC_IVAR _ $ _ MDMPasscodeCache._has钥匙串位于: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) 重复符号_OBJC_IVAR _ $ _ MDMPasscodeCache._cachedState位于: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) 重复的符号_OBJC_IVAR _ $ _ MDMPasscodeCache._keychainExpireTime在: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) 重复符号_OBJC_CLASS _ $ _ MDMPasscodeCache在: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) 重复符号_OBJC_METACLASS _ $ _ MDMPasscodeCache在: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) _OBJC_IVAR _ $ _ MDMPasscodeCache._hasEnteredBackground中的重复符号: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeCache_f189776e75765630b82721fafea64052.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeCache_42de90102bb6814d03833694aafcc99d.o) 重复符号_OBJC_IVAR _ $ _ MDMPasscodeState._status位于: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeState_d2697588db599ad1e82d46f342216cee.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeState_adbe96d99863168799049cc0f0164c6d.o) 重复符号_OBJC_IVAR _ $ _ MDMPasscodeState._info在: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeState_d2697588db599ad1e82d46f342216cee.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeState_adbe96d99863168799049cc0f0164c6d.o) 重复符号_OBJC_CLASS _ $ _ MDMPasscodeState在: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeState_d2697588db599ad1e82d46f342216cee.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeState_adbe96d99863168799049cc0f0164c6d.o) 重复符号_OBJC_METACLASS _ $ _ MDMPasscodeState在: /Volumes/flutter/ios/Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision(MDMPasscodeState_d2697588db599ad1e82d46f342216cee.o) /Volumes/flutter/ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn(MDMPasscodeState_adbe96d99863168799049cc0f0164c6d.o) ld:架构x86_64的13个重复符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
现在,我不知道如何解决此问题。
更新: 现在,在删除并重新安装CocoaPods之后出现新错误:
分析依赖性
从Flutter
获取.symlinks/flutter/ios
的podspec
从cloud_firestore
获取.symlinks/plugins/cloud_firestore/ios
的podspec
从connectivity
获取.symlinks/plugins/connectivity/ios
的podspec
从firebase_admob
获取.symlinks/plugins/firebase_admob/ios
的podspec
从firebase_analytics
获取.symlinks/plugins/firebase_analytics/ios
的podspec
从firebase_auth
获取.symlinks/plugins/firebase_auth/ios
的podspec
从firebase_core
获取.symlinks/plugins/firebase_core/ios
的podspec
从firebase_messaging
获取.symlinks/plugins/firebase_messaging/ios
的podspec
从firebase_storage
获取.symlinks/plugins/firebase_storage/ios
的podspec
从flutter_native_image
获取.symlinks/plugins/flutter_native_image/ios
的podspec
从google_sign_in
获取.symlinks/plugins/google_sign_in/ios
的podspec
从image_picker
获取.symlinks/plugins/image_picker/ios
的podspec
从native_device_orientation
获取.symlinks/plugins/native_device_orientation/ios
的podspec
从package_info
获取.symlinks/plugins/package_info/ios
的podspec
从path_provider
获取.symlinks/plugins/path_provider/ios
的podspec
从qr_mobile_vision
获取.symlinks/plugins/qr_mobile_vision/ios
的podspec
从share
获取.symlinks/plugins/share/ios
的podspec
从url_launcher
获取.symlinks/plugins/url_launcher/ios
的podspec
[!] CocoaPods找不到Pod“ Firebase / AdMob”的兼容版本:
在Podfile中:
firebase_admob(来自.symlinks/plugins/firebase_admob/ios
)已解析为0.0.1,具体取决于
Firebase / AdMob
找到了满足Firebase/AdMob
依赖性的规范,但是它们需要更高的最低部署目标。
CocoaPods找不到Pod“ GoogleUtilities / AppDelegateSwizzler”的兼容版本:
在Podfile中:
firebase_admob(来自.symlinks/plugins/firebase_admob/ios
)已解析为0.0.1,具体取决于
Firebase / AdMob已解决为5.8.0,具体取决于
Firebase / Core(= 5.8.0)已解析为5.8.0,具体取决于
FirebaseAnalytics(= 5.1.2)已解析为5.1.2,具体取决于
GoogleUtilities / AppDelegateSwizzler(〜> 5.2.0)
找到了满足GoogleUtilities/AppDelegateSwizzler (~> 5.2.0)
依赖性的规范,但是它们需要更高的最低部署目标。
CocoaPods找不到Pod“ gRPC-Core”的兼容版本:
在Podfile中:
cloud_firestore(来自.symlinks/plugins/cloud_firestore/ios
)已解析为0.0.1,具体取决于
Firebase / Firestore已解决为5.8.0,具体取决于
FirebaseFirestore(= 0.13.3)已解析为0.13.3,具体取决于
gRPC-C ++(〜> 0.0.3)已解析为0.0.3,具体取决于
gRPC-C ++ / Implementation(= 0.0.3)已解析为0.0.3,具体取决于
gRPC-Core(= 1.14.0)
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 0.0.1, which depends on
Firebase/Firestore was resolved to 5.8.0, which depends on
FirebaseFirestore (= 0.13.3) was resolved to 0.13.3, which depends on
gRPC-ProtoRPC (~> 1.0) was resolved to 1.14.1, which depends on
gRPC-ProtoRPC/Main (= 1.14.1) was resolved to 1.14.1, which depends on
gRPC (= 1.14.1) was resolved to 1.14.1, which depends on
gRPC/Main (= 1.14.1) was resolved to 1.14.1, which depends on
gRPC-Core (= 1.14.1)