ObjectiveDDP icon indicating copy to clipboard operation
ObjectiveDDP copied to clipboard

'Linker command failed with exit code 1' error

Open vikass opened this issue 9 years ago • 7 comments

Hello,

Added 'ObjectiveDDP' to .pod file and perform pod update operation. Everytime when I perform this operation, I get following error -

duplicate symbol _MeteorClientError in:
    /Users/Vikas/Library/Developer/Xcode/DerivedData/M3-dwamgnjvcgzvpyccbqjilachpszn/Build/Products/Debug-iphonesimulator/libObjectiveDDP.a(MeteorClient.o)
    /Users/Vikas/Library/Developer/Xcode/DerivedData/M3-dwamgnjvcgzvpyccbqjilachpszn/Build/Products/Debug-iphonesimulator/libObjectiveDDP.a(MeteorClient+Parsing.o)
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried to fix this issue by changing few build settings, but not get the success. This error occur only when I add 'ObjectiveDDP' to my project.

Your help is appreciable. Looking forward from your side.

Thanks, Vikas

vikass avatar Mar 01 '16 09:03 vikass

Check your not double including anything in the files list, its complaining because your trying to build/link the same files twice

mikey0000 avatar Mar 02 '16 20:03 mikey0000

I think the ObjectiveDDP 0.2.0 release has not been updated in the cocoapods master repo. I was just facing the same issue, and found that this has been fixed in version 0.2.0. But when I try to install it via cocoapods, pod install says unable to satisfy ~> 0.2.0 requirement.

@vikass for now, you can just clone this repo manually and tell your project's Podfile to use the local version to get the latest changes.

pod 'ObjectiveDDP', :path => '../ObjectiveDDP/ObjectiveDDP.podspec'

In the meantime, request @mikey0000 to please update the Cocoapods master repo with the 0.2.0 release of ObjectiveDDP.

biocross avatar Mar 25 '16 10:03 biocross

Will see if I can

On 25/03/2016, at 11:00 PM, Siddharth Gupta [email protected] wrote:

I think the ObjectiveDDP 0.2.0 release has not been updated in the cocoapods master repo. I was just facing the same issue, and found that this has been fixed in version 0.2.0. But when I try to install it via cocoapods, pod install says unable to satisfy ~> 0.2.0 requirement.

@vikass https://github.com/vikass for now, you can just clone this repo manually and tell your project's Podfile to use the local version to get the latest changes.

pod 'ObjectiveDDP', :path => '../ObjectiveDDP/ObjectiveDDP.podspec'

In the meantime, request @mikey0000 https://github.com/mikey0000 to please update the Cocoapods master repo with the 0.2.0 release of ObjectiveDDP.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/boundsj/ObjectiveDDP/issues/169#issuecomment-201225551

mikey0000 avatar Mar 25 '16 11:03 mikey0000

Has this been fixed yet?

aspin avatar Aug 16 '16 16:08 aspin

Hi @mikey0000 ,

Can you please let us know if you will update 0.2.0 update to cocoapods?

AliTariqPL avatar Jul 28 '17 15:07 AliTariqPL

Hi yes I can do that I believe, I'll try and remember all the steps etc

On 29 July 2017 03:44:20 GMT+12:00, Ali Bin Tariq [email protected] wrote:

Hi @mikey0000 ,

Can you please let us know if you will update 0.2.0 update to cocoapods?

-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/boundsj/ObjectiveDDP/issues/169#issuecomment-318688525

-- Sent from my Android phone with K-9 Mail. Please excuse my brevity.

mikey0000 avatar Jul 29 '17 00:07 mikey0000

Hi Guys sorry for the delay, I'm out of a job so been busy. pushing 2.0 now, let me know if its working as expected otherwise I'll push a 2.1

mikey0000 avatar Aug 06 '17 23:08 mikey0000