【发布时间】:2022-11-30 19:44:42
【问题描述】:
我正在尝试从 Podfile 中删除 use_frameworks!。原因是因为 pod 最新版本之一需要删除 use_frameworks (TapTalk SDK)。
尝试构建应用程序时出现错误No such module Firebase。
删除它后,出现错误no such module FirebaseMessaging,并且某些文件中还缺少远程配置模块。
如果我撤消它回到use_frameworks! - >它恢复正常。
我应该怎么做才能让它发挥作用?
这是我的 Podfile,问题发生在 Common 和 xxxNotif(NotificationService)
# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
workspace 'xxx'
def main
pod 'Kingfisher', :git => 'https://github.com/onevcat/Kingfisher.git', :branch => 'version6-xcode13'
pod 'Firebase/Analytics'
pod 'Firebase/Crashlytics'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'SkeletonView'
pod 'JXPageControl'
pod 'SwiftSoup'
end
target 'xxx' do
project 'xxx.xcodeproj'
main
pod 'IOSSecuritySuite'
pod 'TapTalkLive'
pod 'AFNetworking', '~> 4.0.0', :modular_headers => true
pod 'JSONModel', '~> 1.1', :modular_headers => true
end
target 'Networking' do
project 'Networking/Networking.xcodeproj'
end
target 'Common' do
project 'Common/Common.xcodeproj'
main
end
target 'xxxNotif' do
main
end
【问题讨论】:
标签: swift firebase cocoapods podfile