HeligPfleigh / react-native-thermal-receipt-printer

A RN library for thermal printer
155 stars 102 forks source link

Build Failed in Mac M1, architecture arm64 #138

Open AnasRezk opened 1 year ago

AnasRezk commented 1 year ago

Current Behavior

Expected Behavior

How to reproduce

Reference from apple docs

Your Environment

software version
iOS or Android IOS
react-native 0.71.1
node v16.15.0
npm or yarn 1.22.19
uzuntonev commented 1 year ago

I faced the same issue. For android devices works fine but when I tried to build for ios hit this error Showing Recent Errors Only 137 duplicate symbols for architecture arm64. If I uninstall the package react-native-thermal-receipt-printer, the build is complete successfully.

My Environment OS - macOS Ventura 13.0 Chip - Apple M1 Xcode - version 14.2 react-native - 0.64.4

danishasim2000 commented 1 year ago

I am facing same issue 😕

vramaharba commented 1 year ago

The documentation solve the problem:

https://github.com/HeligPfleigh/react-native-thermal-receipt-printer#troubleshoot

danitrical commented 1 year ago

Hey, I resolved this issue through following steps:

Thank me later.

SteveMelons commented 1 year ago

I am still having this issue. I tried to follow your guide @danitrical but it did not fix it.

yeyintaung1999 commented 7 months ago

Anyone can solve?

clover-leaf commented 6 months ago

Any news about this issue?

lchenfox commented 1 month ago

The solution link see: https://github.com/HeligPfleigh/react-native-thermal-receipt-printer/issues/167#issuecomment-2133498223.