react-native-static-server icon indicating copy to clipboard operation
react-native-static-server copied to clipboard

linker command failed with exit code 1 (use -v to see invocation)

Open afeichuanqi opened this issue 5 years ago • 2 comments

Linker command failed with exit code 1 (use-v to see invocation) may occur when react-native-static-server is used in conjunction with realm, possibly because of duplicate names. How to solve this problem?

afeichuanqi avatar Jul 04 '19 16:07 afeichuanqi

duplicate symbol OBJC_IVAR$_GCDWebServerDataRequest._data in: /Users/panfeilong/Library/Developer/Xcode/DerivedData/project-edogcqsgiqxgvbelydnybjlpjnnf/Build/Products/Debug-iphonesimulator/libRealmReact.a(GCDWebServerDataRequest.o) /Users/panfeilong/Library/Developer/Xcode/DerivedData/project-edogcqsgiqxgvbelydnybjlpjnnf/Build/Products/Debug-iphonesimulator/libFPStaticServer.a(GCDWebServerDataRequest.o)

afeichuanqi avatar Jul 04 '19 17:07 afeichuanqi

clang: error: linker command failed with exit code 1 (use -v to see invocation)

afeichuanqi avatar Jul 04 '19 17:07 afeichuanqi