Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode build issue couldn't to find auto-linked framework

I've been struggling with this issue for days now :( When building my iOS app in the simulator it works fine (debug build), but as soon as I'm trying to build to my iPhone 11 (v 14.5.1) my build fails with these errors:

ld: warning: Could not find or use auto-linked framework 'GoogleDataTransport'
ld: warning: Could not find or use auto-linked framework 'FirebaseRemoteConfig'
ld: warning: Could not find or use auto-linked framework 'FirebaseCore'
ld: warning: Could not find or use auto-linked framework 'Protobuf'
ld: warning: Could not find or use auto-linked framework 'FirebaseInstallations'
ld: warning: Could not find or use auto-linked framework 'GoogleToolboxForMac'
Undefined symbols for architecture arm64:

I'm using Xcode 12.5. I've tried various suggestions like:

  • Adding LD_VERIFY_BITCODE to User-Defined in Build Settings with the value of NO
  • Enable Bitcode in Build Settings with the value of NO
  • Deleting derived data
  • Uninstalling and installing Pods
  • Clean build
  • Make sure that Framework Search Paths looks correct. I only have $(inherited)
  • Changing $(inherited) to recursive
  • Made sure I have the .xcworkspace file open and not the .xcodeproj

Any other possible solutions out there?

like image 319
Michael Falck Wedelgård Avatar asked Jun 01 '26 04:06

Michael Falck Wedelgård


1 Answers

The issue is related to Flipper if I comment out use_flipper!() in the Podfile it works. Unfortunately I haven't figured out a good way to disable flipper when running on local device only.

like image 52
Michael Falck Wedelgård Avatar answered Jun 02 '26 18:06

Michael Falck Wedelgård



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!