react-native-star-prnt
react-native-star-prnt copied to clipboard
Duplicate symbol causes build to fail
I know this isn't a problem with this repo and maybe I'm wrong to ask here but I'm going to anyway:
What do you do when the StarIO.framework uses duplicate symbols from other third-party libraries? Our app already supports Epson printers and now that we're trying to add support for star printers, we get this message when trying to build:
duplicate symbol _GetOnlineStatus in:
/projects/MyApp/node_modules/react-native-star-prnt/ios/Frameworks/StarIO.framework/StarIO(StarIOPort.o)
/projects/MyApp/ios/libepos2.a(eposprint_common_status.o)
duplicate symbol _hasListeners in:
/Users/jimmy/Library/Developer/Xcode/DerivedData/MyApp-gjwlztxwlgeyipbojfoewcpshknr/Build/Products/Debug-iphoneos/ReactNativeSocketMobile/libReactNativeSocketMobile.a(ReactNativeSocketMobile.o)
/Users/jimmy/Library/Developer/Xcode/DerivedData/MyApp-gjwlztxwlgeyipbojfoewcpshknr/Build/Products/Debug-iphoneos/libRNStarPrnt.a(RNStarPrnt.o)
ld: 2 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)