gpt4 book ai didi

facebook - 无法构建模块 'FBSDKShareKit'

转载 作者:行者123 更新时间:2023-12-03 19:46:52 24 4
gpt4 key购买 nike

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

Could not build module 'FBSDKShareKit'


同样在我的错误中:
enter image description here
播客文件:
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
我已经删除了派生数据、清理、清除了我的 Pods 目录和 Podfile.lock。有关如何修复的任何建议?
编辑:这是由包含 use_modular_headers! 引起的这源于我看到此错误后的行为

[!] The following Swift pods cannot yet be integrated as static libraries:

The Swift pod ParseLiveQuery depends upon Parse and Bolts, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set use_modular_headers! globally in your Podfile, or specify :modular_headers => true for particular dependencies.

最佳答案

use_modular_headers!

为我工作

关于facebook - 无法构建模块 'FBSDKShareKit',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51620897/

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