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
toUser-Defined
inBuild Settings
with
the value ofNO
Enable Bitcode
inBuild Settings
with the value ofNO
- Deleting derived data
- Uninstalling and installing Pods
- Clean build
- Make sure that
Framework Search Paths
looks correct. I only have
$(inherited)
- Changing
$(inherited)
torecursive
- Made sure I have the .xcworkspace file open and not the .xcodeproj
Any other possible solutions out there?
2
Answers
The issue is related to
Flipper
if I comment outuse_flipper!()
in thePodfile
it works. Unfortunately I haven't figured out a good way to disable flipper when running on local device only.You should try setting
ENABLE_BITCODE = NO
for all of your targets (including your app targets & multiple PODS targets).Here’s what you can add at the end of Podfile.
Save it and do a
pod install
.Do a clean build, see if it helps.