expo: [iOS] eas build fail, due to symbol not found for architecture(git lfs(Large File Storage))
Summary
I think the framework library file used in the map is over 100m, so there is a fastlane error. (related issue: https://stackoverflow.com/questions/70972588/fastlane-mapbox-framework-architecture-arm64-symbol
I couldn’t find the option to set in the document below https://docs.expo.dev/submit/eas-json/
Error Message:(eas build, run fastlane)
ld: ignoring file /Users/expo/workingdir/build/ios/Pods/NMapsMap/framework/NMapsMap.framework/NMapsMap, building for iOS-arm64 but attempting to link with file built for unknown-unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F )
❌ Undefined symbols for architecture arm64
┌─ Symbol: _OBJC_CLASS_$_NMFCameraPosition
└─ Referenced from: objc-class-ref in libreact-native-nmap.a(RCTConvert+NMFMapView.o)
❌ ld: symbol(s) not found for architecture arm64
- simulater build is same(symbol(s) not found for architecture x86_64)
- local build is success
how can i solved??
What platform(s) does this occur on?
iOS
SDK Version
44
Environment
expo-env-info 1.0.3 environment info: System: OS: macOS 12.3 Shell: 5.8 - /bin/zsh Binaries: Node: 17.8.0 - /usr/local/bin/node Yarn: 1.22.18 - /usr/local/bin/yarn npm: 8.5.5 - /usr/local/bin/npm Watchman: 2022.03.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3 Android SDK: API Levels: 23, 27, 28, 29, 30, 31 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3 System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild npmPackages: @expo/webpack-config: ~0.16.2 => 0.16.20 babel-preset-expo: 9.0.2 => 9.0.2 expo: >=44.0.0-0 <45.0.0 => 44.0.6 react: 17.0.1 => 17.0.1 react-dom: 17.0.1 => 17.0.1 react-native: 0.64.3 => 0.64.3 npmGlobalPackages: eas-cli: 0.50.0 expo-cli: 5.3.1 Expo Workflow: bare
Reproducible demo
// eas.json
“alphaRelease”: { “distribution”: “internal”, “ios”: { “buildConfiguration”: “Release”, “scheme”: “groundAlpha” }, }
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 29 (9 by maintainers)
Having a similar problem, but different symbols:
Not sure if such linking errors might have a common root cause, or should this be treated as a separate thing?
Had the same problem and couldn’t update Xcode version because of an old macbook… What worked for me was installing an older version of expo-barcode-scanner:
yarn add expo-barcode-scanner@11.2.1Observing the same issue as https://github.com/expo/expo/issues/17317#issuecomment-1118999048 with expo sdk 45.
Any updates on it?
Having similar problem since last Friday
@virginia-duca - you can either:
AVMetadataObjectTypeCodabarCode