TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

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.

2      

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 :)!

2      

I also landed into the same problem. But when I updated the framework search paths for GoogleAppMeasurement. The issue got fixed.

2      

@gangadharbonda Can you post what you updated the search paths to? I am facing this same problem

2      

I missed your message @mattcat10

Ex:Framework search paths $(PROJECT_DIR)/xxxxxx/Firebase/GoogleAppMeasurement/Frameworks

2      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

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

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.