Xcode - no XCFramework found

Viewed 5996
   There is no XCFramework found at '/Users/alexanderchoi/Desktop/VaxPass/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.xcframework'.

I am getting this error when I run. I have done pod deintegrate and pod install and my pods seem there. The frameworks are red, which is a bit weird but maybe because I was transferred this project from another computer.

Any help will be great!

2 Answers

I realized that in my pods file, GoogleMobileAds didn't have some of the files, so I went to a GitHub, containing GOogleMobileAds pod and copied the missing files.

If this happens while using SwiftPM resetting the package caches in Xcode solved the issue for me.

File > Packages > Reset Package Caches

Related