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

1 duplicate symbol for architecture arm64(ios构建报错) #68

Open
lp4298707 opened this issue Nov 4, 2019 · 3 comments
Open

1 duplicate symbol for architecture arm64(ios构建报错) #68

lp4298707 opened this issue Nov 4, 2019 · 3 comments

Comments

@lp4298707
Copy link

duplicate symbol _distance in:
/Users/user/Library/Developer/Xcode/DerivedData/weight-dcsrolxzvuztosdzfondrtqizpws/Build/Products/Debug-iphoneos/libRNSVG.a(UIBezierPath+Util.o)
/Users/user/project/newWeightApp2.0/vlcKit/MobileVLCKit.framework/MobileVLCKit(tools.c.o)
ld: 1 duplicate symbol for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@lp4298707 lp4298707 changed the title 1 duplicate symbol for architecture arm64(ioS) 1 duplicate symbol for architecture arm64(ios构建报错) Nov 4, 2019
@namsna
Copy link

namsna commented Nov 19, 2019

I got same error.

duplicate symbol '_distance' in:
/Users/namtran/Library/Developer/Xcode/DerivedData/xxxxx-cnkfbfmejgwnrgdjwcktivwklalt/Build/Products/Debug-iphonesimulator/RNSVG/libRNSVG.a(RNSVGPathMeasure.o)
/Users/namtran/Desktop/factorynowreact/ios/Pods/MobileVLCKit/MobileVLCKit-binary/MobileVLCKit.framework/MobileVLCKit(tools.c.o)
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@namsna
Copy link

namsna commented Nov 19, 2019

I uninstall 'react-native-svg' to fix the above error,
But this is not good solution.

@1van-rus
Copy link

Hi, I fix it by downgrading react-native-svg to 9.3.7

Podfile

pod 'RNSVG', :path => '../node_modules/react-native-svg'
pod 'MobileVLCKit', '3.3.1'

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

3 participants