"No Such Module FirebaseMessaging" after removing 'use_frameworks!' in Podfile

Viewed 22

I'm trying to remove use_frameworks! from Podfile. The reason is because one of pod latest version needs to remove use_frameworks (TapTalk SDK).
There is error No such module Firebase when trying to build the app.

enter image description here

After removing it, there is an error no such module FirebaseMessaging and also missing remote config module in some file.
If i undo it back to use_frameworks! -> it is back to normal.

What should I do to make it work?

Here is my Podfile, the problem happens in Common and also 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
0 Answers
Related