Closed thinkmorebetter closed 2 years ago
Hi @thinkmorebetter, I think that error is related to your local env. Can you check if any of these solutions can fix the issue? https://stackoverflow.com/questions/19213782/undefined-symbols-for-architecture-arm64
Hi @yuhao900914, any chance you can be more specific? The thread you linked is from 2013.
My config includes:
LIBRARY_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)" "$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)" "$(inherited)"
OTHER_LDFLAGS = $(inherited) -ObjC -lc++
Have you been able to build for arm64? I'm on an M1.
This issue was resolved on react-native 0.66+: https://github.com/facebook/react-native/issues/31941
Hello,
I'm unable to build my project after adding the amplitude library.
Xcode 13.1 iOS target: 14.0 react-native: 0.64.2 @amplitude/react-native: 2.6.0
After searching around, I've tried a number of things, such as:
- ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphonesimulator/libswiftMetal.dylib, missing required architecture arm64 in file /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphonesimulator/libswiftMetal.dylib (2 slices)
Any other suggestions?
Thanks for your help!