'Framework not found Protobuf

enter image description hereI am facing an issue wherein I needed to use FirebaseRemoteConfig for my iOS app. 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'


Solution 1:[1]

  1. PLEASE BACKUP YOUR PROJECT

  2. Let's go to "Your Project" -> Build Settings

  3. find here Find here "Other Linker Flags" and open it

  4. delete (click on "-" sign) string "Protobuf" and string "framework" above "Protobuf"

  5. clean build Folder (Command + SHIFT + K) and rebuild

  6. that's all

Solution 2:[2]

  1. Select Project target
  2. Go to build phases
  3. Search Protobuf
  4. delete Protobuf framework
  5. Clean build folder and then build

It is worked for me

Solution 3:[3]

Worked for me

delete pods
delete .symlinks
flutter clean
flutter run

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 rng13
Solution 2 Priyanka Vithani
Solution 3 GILO