2 duplicate symbols for architecture x86_64

已标记关键词 清除标记
<div> <h2>Your Environment</h2> <ul><li>Plugin version: 0.5.0-alpha.47</li><li>Platform: iOS</li><li>OS version: 12.1</li><li>Device manufacturer and model: iPhone 8</li><li>Running in Simulator: yes</li><li>React Native version: 0.55.4</li><li>Plugin configuration options: default from README.md example</li><li>Link to your project: private project, sorry</li></ul> <h2>Context</h2> <p>I have ejected my expo app from SDK30 and then try to manually install your library as described in readme. When I trying to build my application for IOS, I am getting the error:</p> <pre><code> duplicate symbol _OBJC_IVAR_$_DDLogMessage._threadID in: /Users/alekseyrebenkov/Library/Developer/Xcode/DerivedData/--------------------bhfjsybpbrvoqjfqvfadebydyiwd/Build/Products/Debug-iphonesimulator/CocoaLumberjack/libCocoaLumberjack.a(DDLog.o) /Users/alekseyrebenkov/Library/Developer/Xcode/DerivedData/--------------------bhfjsybpbrvoqjfqvfadebydyiwd/Build/Products/Debug-iphonesimulator/libRCTBackgroundGeolocation.a(CocoaLumberjack.o) ld: 116 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) </code></pre> <p>In fact, I have more longer error log, I can give it to you, if it really need.</p> <h2>Expected Behavior</h2> <p>The application built without errors.</p> <h2>Actual Behavior</h2> <p>I am getting the error.</p> <h2>Possible Fix</h2> <p>I don't know :(</p> <h2>Steps to Reproduce</h2> <p>I don't sure because of my app was developing a long time and I don't know how exactly reproduce my error.</p><p>该提问来源于开源项目:mauron85/react-native-background-geolocation</p></div>
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页