ios - 找不到框架 Protobuf
问题描述
我面临一个问题,我需要为我的 iOS 应用程序使用 FirebaseRemoteConfig。我包括以下吊舱:
pod 'Firebase/RemoteConfig'
现在,当我在终端上运行命令时:
pod install
它向我显示了错误:
Framework not found 'Protobuf'
这真的令人沮丧,因为该项目在此之前运行良好。我尝试了一些堆栈溢出的建议,但无法解决问题。
# 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'
解决方案
请备份您的项目
让我们转到“您的项目”-> 构建设置
在这里找到 在这里找到“其他链接器标志”并打开它
删除(单击“-”号)字符串“Protobuf”和“Protobuf”上方的字符串“framework”
清理构建文件夹(Command + SHIFT + K)并重建
就这样
推荐阅读
- javascript - 如何让这个按钮触发适当的事件
- azure-data-explorer - 如何检查给定数据库中所有表的表级策略(例如缓存)?
- html - Shopify Liquid:连续 for 循环无序迭代
- docker - Docker 不会将文件复制到创建的目录
- java - 如何在 java 条件语句中使用 or ,例如 if (a or b != c)
- javascript - Javascript `await` "SyntaxError: Unexpted identifier" 即使我在 `async` 函数中等待
- r - 如何从协方差矩阵中获取唯一对?
- puppeteer - 通过句柄循环获取内部元素文本
- php - 如何修复“将元素添加到数组而不是替换它”?
- javascript - $.getJSON 适用于本地主机但不适用于远程服务器