{"action":"created","issue":{"url":"https://api.github.com/repos/matehat/Objective-LevelDB/issues/26","labels_url":"https://api.github.com/repos/matehat/Objective-LevelDB/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/matehat/Objective-LevelDB/issues/26/comments","events_url":"https://api.github.com/repos/matehat/Objective-LevelDB/issues/26/events","html_url":"https://github.com/matehat/Objective-LevelDB/issues/26","id":89524508,"number":26,"title":"Linker command failed - duplicate symbol _main for architecture x86_64","user":{"login":"lanceschi","id":3028034,"avatar_url":"https://avatars.githubusercontent.com/u/3028034?v=3","gravatar_id":"","url":"https://api.github.com/users/lanceschi","html_url":"https://github.com/lanceschi","followers_url":"https://api.github.com/users/lanceschi/followers","following_url":"https://api.github.com/users/lanceschi/following{/other_user}","gists_url":"https://api.github.com/users/lanceschi/gists{/gist_id}","starred_url":"https://api.github.com/users/lanceschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanceschi/subscriptions","organizations_url":"https://api.github.com/users/lanceschi/orgs","repos_url":"https://api.github.com/users/lanceschi/repos","events_url":"https://api.github.com/users/lanceschi/events{/privacy}","received_events_url":"https://api.github.com/users/lanceschi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-19T10:06:06Z","updated_at":"2015-07-20T15:30:13Z","closed_at":null,"body":"I'm getting this linking issue even with a default empty project.\r\n\r\nDeployment target 8.3\r\nUsing Objective-LevelDB (2.1.4) installed via Cocoapods\r\nUsing leveldb-library (1.18.1) installed via Cocoapods\r\n\r\nHere's the **Podfile**:\r\n```ruby\r\nplatform :ios, '8.0'\r\nuse_frameworks!\r\n\r\ntarget 'levelDB_test' do\r\n  pod 'Objective-LevelDB'\r\nend\r\n\r\ntarget 'levelDB_testTests' do\r\n  pod 'Objective-LevelDB'\r\nend\r\n```\r\n\r\nHere's the error log:\r\n```\r\nduplicate symbol _main in:\r\n    /Users/luca/Library/Developer/Xcode/DerivedData/levelDB_test-gqscfpqoazdhylfthcxwbyirjqjw/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-levelDB_test-leveldb-library.build/Objects-normal/x86_64/db_bench.o\r\n    /Users/luca/Library/Developer/Xcode/DerivedData/levelDB_test-gqscfpqoazdhylfthcxwbyirjqjw/Build/Intermediates/Pods.build/Debug-iphonesimulator/Pods-levelDB_test-leveldb-library.build/Objects-normal/x86_64/leveldb_main.o\r\nld: 1 duplicate symbol for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n```\r\n\r\nAny suggestions will be appreciated.\r\n\r\nThanks.\r\n\r\nCheers,\r\nLuca\r\n"},"comment":{"url":"https://api.github.com/repos/matehat/Objective-LevelDB/issues/comments/122918678","html_url":"https://github.com/matehat/Objective-LevelDB/issues/26#issuecomment-122918678","issue_url":"https://api.github.com/repos/matehat/Objective-LevelDB/issues/26","id":122918678,"user":{"login":"ov1d1u","id":1385202,"avatar_url":"https://avatars.githubusercontent.com/u/1385202?v=3","gravatar_id":"","url":"https://api.github.com/users/ov1d1u","html_url":"https://github.com/ov1d1u","followers_url":"https://api.github.com/users/ov1d1u/followers","following_url":"https://api.github.com/users/ov1d1u/following{/other_user}","gists_url":"https://api.github.com/users/ov1d1u/gists{/gist_id}","starred_url":"https://api.github.com/users/ov1d1u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ov1d1u/subscriptions","organizations_url":"https://api.github.com/users/ov1d1u/orgs","repos_url":"https://api.github.com/users/ov1d1u/repos","events_url":"https://api.github.com/users/ov1d1u/events{/privacy}","received_events_url":"https://api.github.com/users/ov1d1u/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T15:30:13Z","updated_at":"2015-07-20T15:30:13Z","body":"I already did this with no effect. I'll see what can I do regarding this. Anyway the linker error comes from leveldb-library and not Objective-LevelDB."}}