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.

[SDK 42 beta] iOS EAS build failing after upgrading to SDK 42 beta (local build still working)

See original GitHub issue

Summary

  • Run eas build -p ios --clear-cache after upgrading to SDK 42 beta

  • Tried deleting node_modules, Podfile.lock, Pods and then reinstall everything


› Linking   Shone » shonelive
⚠️  ld: duplicate method '+moduleName' in
┌─[category]: RCTAgoraRtcChannelModuleBridge.o react-native-agora/libreact-native-agora.a
└─[class]: RCTAgoraRtcChannelModule.o react-native-agora/libreact-native-agora.a
⚠️  ld: duplicate method '+moduleName' in
┌─[category]: RCTAgoraRtcEngineModuleBridge.o react-native-agora/libreact-native-agora.a
└─[class]: RCTAgoraRtcEngineModule.o react-native-agora/libreact-native-agora.a

❌  ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1205.0.22.9.0_0' Reader: '1200.0.32.29_0')', using libLTO version 'LLVM version 12.0.0, (clang-1200.0.32.29)' for architecture arm64


Compiles fine with Xcode 12.5 on local mac (Big Sur 11.4)

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

managed

What platform(s) does this occur on?

iOS

SDK Version (managed workflow only)

42

Environment

Working: Xcode 12.5.1, Mac OSX (Big Sur 11.4)

Not working: eas build -p ios --clear-cache

Reproducible demo or steps to reproduce from a blank project

I don’t have a minimal repro right now but can provide one if needed.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
brentvatnecommented, Jun 29, 2021

can you link to your build page please? you may need to switch to using xcode 12.5 for your particular project. see: https://docs.expo.io/build-reference/infrastructure/

in your build profile, set "image": "latest"

0reactions
brentvatnecommented, Jul 21, 2021

@gabrielbezerra81 - read the above. you need to update xcode

Read more comments on GitHub >

github_iconTop Results From Across the Web

EAS build fail (project was previously on Expo SDK 42 ...
After updating from Expo 42 to Expo 44, I ran the EAS build and it failed on both iOS and Android. I don't...
Read more >
Expo SDK 45. Today we're announcing the release of…
Classic builds for iOS on SDK 42 and below will no longer be accepted by the Apple App Store (see a related announcement)....
Read more >
Observing "App needs to be updated… - Apple Developer
I'm going to try upgrading to Xcode 12.5 to see if that resolves my issue, but I may need to wait until my...
Read more >
Expo - Twitter
Expo Modules API 1.0: JSI & Fabric native modules with an idiomatic Swift ... that landed in EAS Build recently: - eas build:resign...
Read more >
expo sdk 43
Expo SDK 42 - recordAsync with quality. ... your app to Expo SDK 39. They will continue to work with EAS Build and...
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