travisjeffery / ClangFormat-Xcode

Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang
https://twitter.com/travisjeffery
MIT License
2.89k stars 287 forks source link

Build fails with "ld: Linked dylibs built for GC-only but object files built for retain/release for architecture x86_64" error #9

Closed pbernery closed 10 years ago

pbernery commented 10 years ago

I am trying to build the plugin on my machine but I'm stuck with a link error:

ld: Linked dylibs built for GC-only but object files built for retain/release for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I don't know wich library is GC-Only (I guess this is one of the Xcode frameworks to which the plugin is linked but I am not sure).

My environment: OS X Mavericks (10.9.1) Xcode 5.0.2

travisjeffery commented 10 years ago

looks like your env has a non-optional gc framework. i can't do anything about that. maybe see how things go with one of the xcode betas?

jayeshrajpal commented 10 years ago

I am stuck with the same issue. Please let me know if you have found a solution?

pbernery commented 10 years ago

I didn't find any solution and did not get further.