Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

'Linker command failed with exit code 1' error #169

Open
vikass opened this issue Mar 1, 2016 · 7 comments
Open

'Linker command failed with exit code 1' error #169

vikass opened this issue Mar 1, 2016 · 7 comments

Comments

@vikass
Copy link

vikass commented Mar 1, 2016

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

@mikey0000
Copy link
Collaborator

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

@biocross
Copy link

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.

@mikey0000
Copy link
Collaborator

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 #169 (comment)

@aspin
Copy link
Contributor

aspin commented Aug 16, 2016

Has this been fixed yet?

@AliTariqPL
Copy link

Hi @mikey0000 ,

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

@mikey0000
Copy link
Collaborator

mikey0000 commented Jul 29, 2017 via email

@mikey0000
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants