未找到框架 Protobuf

Rec*_*ner 7 xcode ios firebase-remote-config

在此输入图像描述我面临一个问题,我需要为我的 iOS 应用程序使用 FirebaseRemoteConfig。我添加了以下 Pod:

    pod 'Firebase/RemoteConfig'
Run Code Online (Sandbox Code Playgroud)

现在,当我在终端上运行命令时:

pod install 
Run Code Online (Sandbox Code Playgroud)

它向我显示了错误:

Framework not found 'Protobuf'
Run Code Online (Sandbox Code Playgroud)

确实令人沮丧,因为该项目在此之前运行良好。我尝试了堆栈溢出的一些建议,但无法解决问题。

# 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'
Run Code Online (Sandbox Code Playgroud)

小智 4

  1. 请备份您的项目

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

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

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

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

  6. 就这样