Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 未找到框架Protobuf_Ios_Xcode_Firebase Remote Config - Fatal编程技术网

Ios 未找到框架Protobuf

Ios 未找到框架Protobuf,ios,xcode,firebase-remote-config,Ios,Xcode,Firebase Remote Config,我面临一个问题,我需要在iOS应用程序中使用FirebaseRemoteConfig。我包括以下pod: pod 'Firebase/RemoteConfig' 现在,当我在终端上运行命令时: pod install 它向我显示了错误: Framework not found 'Protobuf' 这确实令人沮丧,因为在此之前项目运行良好。我尝试了堆栈溢出的一些建议,但无法解决该问题 # Uncomment this line to define a global platfor

我面临一个问题,我需要在iOS应用程序中使用FirebaseRemoteConfig。我包括以下pod:

    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)并重新生成

  • 就这些


  • protobuf是嵌入FirebaseCore内部的东西。你把它包括在你的pod文件里了吗?向我们展示你的播客文件和更多错误截图。我已经编辑了这篇文章。。。。这就是我的pod文件的外观。为什么你评论了
    pod Firebase/Core
    ?我想这就是您缺少的
    protobuf
    框架的地方即使我取消注释它,它也不起作用如何清理构建文件夹,删除
    .xcworkspace
    Pods/
    ,运行
    pod update
    ,然后重试?还要检查您的pod项目(在项目导航器中),查看
    Protobuf
    framework是否正确安装(项目导航器->目标)