Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate symbol causes build to fail #10

Open
jimmybaker opened this issue Sep 11, 2018 · 0 comments
Open

Duplicate symbol causes build to fail #10

jimmybaker opened this issue Sep 11, 2018 · 0 comments

Comments

@jimmybaker
Copy link
Contributor

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant