gpt4 book ai didi

ios - 无法在 Swift 项目中构建 facebook ios SDK

转载 作者:搜寻专家 更新时间:2023-10-30 22:34:21 26 4
gpt4 key购买 nike

我得到这些错误

enter image description here

这里是安装的pod

enter image description here

我的 Podfile 是:

platform :ios, “8.0”

post_install do |installer|
installer.pods_project.build_configuration_list.build_configurations.each do |configuration|
configuration.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
end
end

target “” do
pod 'SVProgressHUD'
pod 'TWMessageBarManager'
pod 'QMServices'
pod 'Fabric'
pod 'Crashlytics'
end

我使用 xcode 7.3.1 和 Facebook SDK 4.11(复制到项目文件夹中)

enter image description here

fefe

有人知道如何解决这个问题吗?

更新:据我了解,我在 Pods 中安装了 Bolt,但我无法使用 use_framworks!在 Pods 中,因为 pods 中的一个库不是动态框架,所以当我集成 FBSDKCore 和登录框架时,它尝试在 Pods 中使用 Bolt,但它给出了非模块化错误,因为 pods 中的 Bolt 没有模块映射文件。

最佳答案

尝试进入“目标”下的build设置并将“允许非模块化包含在框架模块中”设置为"is"。 enter image description here例如,请参阅 Github 上的这个问题,其中 AFNetworking 解决了同样的问题:https://github.com/AFNetworking/AFNetworking/issues/2205

关于ios - 无法在 Swift 项目中构建 facebook ios SDK,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37191815/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com