Xcode : Linker command failed with exit code : any idea??

Hello everybody,


I'm trying to implement a programme in C++ using Xcode 6.1.1.

in my project I have created different files with .cpp and .h extensions.

but whenever I try to compile, I got the message in the attached photo below.

User uploaded file

Does anyone have an idea why do I get this message ?

Thank u all for your time 🙂

MacBook Pro, OS X Yosemite (10.10.1)

Posted on Dec 14, 2014 2:14 PM

Reply
4 replies

May 28, 2017 6:45 AM in response to JustAnAppleGeek

I had the same issue, it seems to have appeared for no reason. Following the recommendations on this and couple of other forums, I went through my headers and commented out, then uncommented declarations. The only thing I had in AppDelegate was @property (strong, nonatomic) UIWindow *window; really. Then I also made sure global variables have slightly different names between different classes and the problem is gone... Not sure what solved it, but hope this helps.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode : Linker command failed with exit code : any idea??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.