xcodecocoapods

No such Module after successful building yesterday


Why out of nowhere am I getting that certain modules are not found?

enter image description here

Here is my pod file

 platform :ios, '9.0'
project '.xcodeproj location'

target 'SoldFor' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for SoldFor
pod 'OneSignal', '>= 2.6.2', '< 3.0'
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'Firebase/Database'
pod 'Fabric', '~> 1.10.2'
pod 'Crashlytics', '~> 3.14.0'
pod 'Firebase/Analytics'
pod 'MaterialComponents'
pod 'Toast-Swift', '~> 5.0.1'
# pod 'Charts'
pod 'MaterialComponents/ActivityIndicator'
pod 'MaterialComponents/Chips'
pod 'Google-Mobile-Ads-SDK'
pod 'Alamofire'
pod 'SwiftyJSON', '~> 4.0'
 pod 'SDWebImage', :modular_headers => true
end

target 'OneSignalNotificationServiceExtension' do
  use_frameworks!
  pod 'OneSignal', '>= 2.6.2', '< 3.0'
end

Yesterday everything was fine, then out of nowhere, this happens.

Things I have done:

Edit: If I do a head and remove that import, and the code that goes with it... I then try to rebuild, then the project complains about import Firebase saying there is no such module.


Solution

  • In case anyone finds this, and really for me to go back to it in case this happened again.

    Open but the Build Settings for your application.

    Do the same for Header Search Paths