thiendangit / react-native-thermal-receipt-printer-image-qr

React native thermal receipt printer
https://www.npmjs.com/package/react-native-thermal-receipt-printer-image-qr
111 stars 73 forks source link

can't install on IOS using expo 48 #107

Open Savan-ITDEV opened 1 year ago

Savan-ITDEV commented 1 year ago

I try to install this lib in project but got error this : ld: in /Users/xxxx/Desktop/Working/Expo/xxxx/node_modules/react-native-thermal-receipt-printer-image-qr/ios/PrinterSDK/libPrinterSDK.a(GCDAsyncSocket.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/xxx/Desktop/Working/Expo/xxxnode_modules/react-native-thermal-receipt-printer-image-qr/ios/PrinterSDK/libPrinterSDK.a' for architecture arm64

huytdps13400 commented 11 months ago

me too. Help me

huytdps13400 commented 11 months ago

I am facing same issue 😕

huytdps13400 commented 11 months ago

What worked for me is to open Xcode using Rosseta,

Right click on Xcode in applications folder Get Info Check Open using Rosetta Open Xcode Open project Clean build folder Run project @Savan-ITDEV

MaheshKaemSolutions commented 7 months ago

Actually I figure out this issue, as I was getting this issue and the only solution is to switch to the real device instead of simulator because this library doesn't support Simulator, Hope this information will be useful. @Savan-ITDEV @huytdps13400