[英]Framework not found Protobuf
I am facing an issue wherein I needed to use FirebaseRemoteConfig for my iOS app.
我面临一个问题,我需要为我的 iOS 应用程序使用 FirebaseRemoteConfig。 I included the following pod:
我包括以下吊舱:
pod 'Firebase/RemoteConfig'
Now when I am running the command on terminal:现在,当我在终端上运行命令时:
pod install
It shows me the error:它向我显示错误:
Framework not found 'Protobuf'
Its really frustrating as the project was running fine before this.这真的很令人沮丧,因为项目在此之前运行良好。 I have tried some suggestions from stack overflow but could not resolve the issue.
我尝试了堆栈溢出的一些建议,但无法解决问题。
# Uncomment this line to define a global platform for your project
platform :ios, '10.0'
# ignore all warnings from all pods
inhibit_all_warnings!
use_frameworks!
target 'S****k' do
pod 'AFNetworking', '~> 2.6'
pod 'TPKeyboardAvoiding', '~> 1.2'
pod 'SVProgressHUD', '~> 1.1'
pod 'Google/SignIn'
pod 'Mantle', '~> 2.0'
pod 'FBSDKCoreKit'#, '~> 4.8'
pod 'FBSDKLoginKit'#, '~> 4.8'
pod 'GooglePlaces', '~> 3.0.0'
#pod 'Firebase/Core'
pod 'GoogleTagManager'
pod 'GoogleIDFASupport'
pod 'Fabric'
pod 'Crashlytics'
pod 'AppsFlyerFramework'
pod 'KissXML'
pod 'GoogleMaps', '~> 3.0.0'
pod 'AutoScrollLabel'
pod "CleverTap-iOS-SDK"
pod 'IQKeyboardManager'
pod 'TrueSDK'
pod 'HyperSDK', '0.2.90'
pod 'ExpressCheckout'
#pod "AlignedCollectionViewFlowLayout"
pod 'UICollectionViewLeftAlignedLayout'
#pod 'TGLParallaxCarousel'
pod "JuspaySafeBrowser"
pod 'Firebase/RemoteConfig'
PLEASE BACKUP YOUR PROJECT请备份您的项目
Let's go to "Your Project" -> Build Settings让我们转到“您的项目”-> 构建设置
find here Find here "Other Linker Flags" and open it在这里找到在这里找到“其他链接器标志”并打开它
delete (click on "-" sign) string "Protobuf" and string "framework" above "Protobuf"删除(点击“-”号)字符串“Protobuf”和字符串“框架”上面的“Protobuf”
clean build Folder (Command + SHIFT + K) and rebuild清理构建文件夹(Command + SHIFT + K)并重建
that's all就这样
It is worked for me它对我有用
Worked for me为我工作
delete pods
delete .symlinks
flutter clean
flutter run
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.