NEW: Subscribe to Hacking with Swift+ and accelerate your learning! >>

Xcode 11 - framework not found GoogleAppMeasurement

Forums > Swift

I've been facing this weird problem with XCode 11 (Version 11.4.1 (11E503a)) since I started using Cocoapods.

Every morning when I try building my project the "framework not found GoogleAppMeasurement" error appears.

Also Pods.xcodeproj is marked with red when this happens.

Reopening Xcode doesn't help,

what does help is executing the following 2 commands:

pod deintegrate && pod cache clean --all

pod install

and it works for a while but next morning it starts from the very beginning. Same error every day. I also tried changing to "Recursive" some search path values in "project -> build settings" but obviously it didn't help.

I( am almost sure it has nothing to do with that google module as it's just the first module in the Pods.

Podfile contents:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'FitMa' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  pod 'Firebase/Analytics'
  pod 'Firebase/Firestore'
  pod 'Firebase/Storage'

  # Pods for FitMa

end

All advice are welcome.

   

It looks like your project folder is located somewhere in ~/Desktop, is it by any chance in iCloud? I had similar issues, amongst others, regarding pods in projects when my project folders where synced with iCloud. After turning that off, never had any trouble :)!

   

Hacking with Swift is sponsored by Paw

SPONSORED Use Paw to build, test and describe web APIs. Paw has a lightning fast native macOS interface to compose requests, collaborate in real-time on API specs, and generate client code for your applications. You can import and export API definitions.

Discover Paw for Mac

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

Not logged in

Log in
 

Link copied to your pasteboard.