无法构建模块“FBSDKShareKit”

Zac*_*iro 4 facebook parse-platform facebook-sdk-4.0 fbsdk fbsdksharekit

我正在升级一些 Pod,即支持ParseLiveQuery. 我现在在我的一个头文件中遇到错误

无法构建模块“FBSDKShareKit”

同样在我的错误中:

在此处输入图片说明

播客文件:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.3'
inhibit_all_warnings!
use_modular_headers!

workspace 'myApp'

target 'myApp' do
    pod 'ROGoogleTranslate'
    pod 'Parse', '1.16.0'
    pod 'Parse/FacebookUtils'
    pod 'ParseUI', '1.2.0'
    pod 'ParseLiveQuery'
    pod 'SocketRocket'
    pod 'Bolts', '1.9.0'
    pod 'Bolts-Swift', :git => 'https://github.com/BoltsFramework/Bolts-Swift', :commit => 'e9baa72d04521c3b25ef4fa6fef12b340953ee02'
    pod 'JSQMessagesViewController', '7.3.3'
    pod 'FBSDKCoreKit', '~> 4.28.0'
    pod 'FBSDKShareKit', '~> 4.28.0'
    pod 'FBSDKLoginKit', '~> 4.28.0'
end
Run Code Online (Sandbox Code Playgroud)

我已经删除了派生数据、清理、清除了我的 Pods 目录和 Podfile.lock。有关如何修复的任何建议?

编辑:这是由于use_modular_headers!在看到此错误后包含源于我的行为的内容引起的

[!] 以下 Swift pod 还不能集成为静态库:

Swift podParseLiveQuery依赖于ParseBolts,它们没有定义模块。要选择那些生成模块映射的目标(这是在构建为静态库时从 Swift 导入它们所必需的),您可以use_modular_headers!在 Podfile 中全局设置,或指定:modular_headers => true特定的依赖项。

Álv*_*ero 9

use_modular_headers!
Run Code Online (Sandbox Code Playgroud)

为我工作