[expo-barcode-scanner](iOS only) EAS Fastlane build failed

See original GitHub issue

Summary

EAS Fastlane build failed once add “expo-barcode-scanner”: “^11.2.1”, simply remove “expo-barcode-scanner” build will become fine.

EAS console error:

Compiling Pods/ZXingObjC » ZXRGBLuminanceSource.m

❌ (ios/Pods/ZXingObjC/ZXingObjC/core/ZXRGBLuminanceSource.m:62:40)

60 | _left = 0; 61 | _top = 0;

62 | _luminances = [[ZXByteArray alloc] initWithArray:pixels length:width * height]; | ^ no visible @interface for ‘ZXByteArray’ declares the selector ‘initWithArray:length:’ 63 | } 64 | return self; 65 | } › Compiling Pods/ZXingObjC » ZXProductResultParser.m ▸ ** ARCHIVE FAILED ** ▸ The following build commands failed: ▸ CompileC /Users/expo/Library/Developer/Xcode/DerivedData/EasyBusMobile-cgeabdytddfhapfhdxsgtejpmgqr/Build/Intermediates.noindex/ArchiveIntermediates/EasyBusMobile/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ZXingObjC.build/Objects-normal/arm64/ZXRGBLuminanceSource.o /Users/expo/workingdir/build/ios/Pods/ZXingObjC/ZXingObjC/core/ZXRGBLuminanceSource.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target ‘ZXingObjC’ from project ‘Pods’) ▸ (1 failure) ** ARCHIVE FAILED **

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)

44

Environment

Expo CLI 5.1.1 environment info: System: OS: macOS 12.1 Shell: 5.8 - /bin/zsh Binaries: Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node Yarn: 1.22.17 - ~/.nvm/versions/node/v14.18.1/bin/yarn npm: 8.1.4 - ~/.nvm/versions/node/v14.18.1/bin/npm Watchman: 2021.11.15.00 - /opt/homebrew/bin/watchman SDKs: iOS SDK: Platforms: DriverKit 21.0.1, iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0 Android SDK: API Levels: 31 Build Tools: 31.0.0 System Images: android-31 | Google APIs ARM 64 v8a IDEs: Xcode: 13.1/13A1030d - /usr/bin/xcodebuild npmPackages: expo: ^44.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 react-native-web: 0.17.1 => 0.17.1 npmGlobalPackages: eas-cli: 0.47.0 expo-cli: 5.1.1 Expo Workflow: managed

Reproducible demo

EAS build link: https://expo.dev/accounts/trustytech/projects/easybus-mobile/builds/788ce70a-d70f-4901-9f2c-5707d47f78c3

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
TrustyTechSGcommented, Feb 10, 2022

hey @TrustyTechSG - thanks for sharing! could you please try removing some of your dependencies and narrowing it down to the minimal set of dependencies to reproduce this error? it looks like there are about 70 dependencies in your project

Hi @brentvatne , by narrowing down the dependencies, I found out it is caused by the printing dependency which also using ZXing, which caused the build issue I think, Im closing this issue now. Thank you.

0reactions
brentvatnecommented, Feb 10, 2022

hey @TrustyTechSG - thanks for sharing! could you please try removing some of your dependencies and narrowing it down to the minimal set of dependencies to reproduce this error? it looks like there are about 70 dependencies in your project

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expo SDK 46 iOS build failed in fastlane step - Stack Overflow
I am trying to build iOS app from expo managed project. The build fails At fastlane step. In Expo SDK 44, 45 everything...
Read more >
Development build succeeds, but production fails - Expo Forums
my eas builds succeed with my development profile but fail for production. Same on EAS as well as --local (same behavior for prod...
Read more >
expo failed to resolve plugin for module - You.com | The AI ...
Hi, just looking for some support as I am new to using config plugins and I ... When I attempt to run eas...
Read more >
EAS build error - RevenueCat Community
When i run eas build it fails with the following error: ... 'AsyncStream' is only available in iOS 15.0 or newer 193 |...
Read more >
Development Build Fails on Fastlane After Installing ... - Reddit
Whenever I've tried to create an iOS dev build (eas build --profile development --platform ios), I'll get queued for ~ 4 hours, the...
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