react-native-thermal-receipt-printer-image-qr icon indicating copy to clipboard operation
react-native-thermal-receipt-printer-image-qr copied to clipboard

can't install on IOS using expo 48

Open Savan-ITDEV opened this issue 1 year ago • 5 comments

Savan-ITDEV avatar Aug 15 '23 07:08 Savan-ITDEV

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

Savan-ITDEV avatar Aug 15 '23 07:08 Savan-ITDEV

me too. Help me

huytdps13400 avatar Oct 11 '23 18:10 huytdps13400

I am facing same issue 😕

huytdps13400 avatar Oct 11 '23 18:10 huytdps13400

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

huytdps13400 avatar Oct 15 '23 17:10 huytdps13400

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

MaheshKaemSolutions avatar Jan 24 '24 08:01 MaheshKaemSolutions