问题描述
我一直收到错误
'FBSDKMonitorHeaders.h' file not found
我什至试图将我的项目回滚到以前的提交,但我仍然遇到相同的错误。没有说明为什么需要这个文件。
我不确定是什么问题,因为我没有在我的项目中使用 FBSDK。
这是我的 pod 文件:
# Uncomment the next line to define a global platform for your project
platform :ios,'12.0'
post_install do |pi|
pi.pods_project.targets.each do |t|
t.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
end
end
target 'Pikit' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Pikit
pod 'Firebase'
pod 'Firebase/Core'
pod 'Firebase/Storage'
pod 'Firebase/Auth'
pod 'Firebase/Firestore'
pod 'Firebase/Functions'
pod 'Firebase/Analytics'
pod 'Firebase/Messaging'
pod 'Firebase/DynamicLinks'
pod 'firebaseui'
pod 'firebaseui/Auth'
pod 'firebaseui/Email'
pod 'firebaseui/Google'
pod 'firebaseui/Facebook'
pod 'firebaseui/OAuth' # Used for Sign in with Apple,Twitter,etc
pod 'firebaseui/Phone'
# Other Podfiles
pod 'OnboardKit'
# Auto move screen for keyboard
pod 'SDWebImage',:modular_headers => true
pod 'PureLayout'
end
在文件 FBSDKCoreKit+internal.h 中发现此错误
我尝试添加以下 Pod:
pod 'FBSDKCoreKit'
pod 'FBSDKCoreKit'
但是,我得到了同样的错误。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)