react-native-thermal-receipt-printer-image-qr
react-native-thermal-receipt-printer-image-qr copied to clipboard
can't install on IOS using expo 48
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
me too. Help me
I am facing same issue 😕
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
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