question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] eas build fail, due to symbol not found for architecture(git lfs(Large File Storage))

See original GitHub issue

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” }, }

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:26 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
lawrence-lazcommented, May 5, 2022

Having a similar problem, but different symbols:

❌  Undefined symbols for architecture arm64
┌─ Symbol: _AVMetadataObjectTypeCodabarCode
└─ Referenced from: l001 in EXBarCodeScanner(EXBarCodeScanner.o)

❌  ld: symbol(s) not found for architecture arm64


❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

Not sure if such linking errors might have a common root cause, or should this be treated as a separate thing?

2reactions
bandhavyacommented, May 25, 2022

Observing the same issue as https://github.com/expo/expo/issues/17317#issuecomment-1118999048 with expo sdk 45.

Read more comments on GitHub >

github_iconTop Results From Across the Web

building for ios-arm64 but attempting to link with file built for ...
Xcode build fails with Undefined symbols for architecture arm64: ... build fail, due to symbol not found for architecture(git lfs(Large File Storage))#17317.
Read more >
Uploaded files to Github LFS, after uploading ran into error ...
I was having issues uploading files to GitHub remotely using LFS. ... due to an error: String 'version https:' isn't a valid build...
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/24 17 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >
Git LFS Repositories - JFrog
Artifactory supports Git Large File Storage (LFS) repositories on top of Artifactory's existing support for advanced artifact management.
Read more >
Git - LFS (Large File Storage) - GeeksforGeeks
It means if we have some large files in our repository like any Images, Videos, Graphics, etc then cloning that repository is a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found