首页 > 解决方案 > 找不到框架 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'

标签: iosxcodefirebase-remote-config

解决方案


  1. 请备份您的项目

  2. 让我们转到“您的项目”-> 构建设置

  3. 在这里找到 在这里找到“其他链接器标志”并打开它

  4. 删除(单击“-”号)字符串“Protobuf”和“Protobuf”上方的字符串“framework”

  5. 清理构建文件夹(Command + SHIFT + K)并重建

  6. 就这样


推荐阅读