Discussion Forums  >  Xcode, Errors, Installing, Configuring

Replies: 3    Views: 122894

Ellery
I hate code!
Profile
Posts: 20
Reg: Jan 21, 2013
Tuen Mun
2,450
02/23/13 09:26 AM (11 years ago)

Apple Mach-O Linker Error clang: error: linker command failed with exit code 1

Hi I am using BT 2.0 and XCode 4.6 When I build a project with a quiz plugin, it generated this error: Apple Mach-O Linker Error clang: error: linker command failed with exit code 1 I tried the following but it simply NOT WORK: - Clean and rebuild - Set Build Active Architecture Only to Yes (on both "Project" and "Target") - iOS deployment target, both 5.0 and 4.3 Here is the screenshot: http://i1193.photobucket.com/albums/aa345/alucard0011/87A25E555FEB71672013-02-244E0A5348122012.png Thank you in advance for any help.
 
shak77
buzztouch Evangelist
Profile
Posts: 399
Reg: Jan 18, 2011
location unknow...
7,240
like
02/23/13 03:52 PM (11 years ago)
Dealing with the same error this past week. I asked about it on stackoverflow.com and here are the answers: http://stackoverflow.com/questions/14990632/mach-o-linker-error-on-xcode-4-6 Still trying to fix it, but hopefully this may help you.
 
Ellery
I hate code!
Profile
Posts: 20
Reg: Jan 21, 2013
Tuen Mun
2,450
like
02/25/13 06:47 AM (11 years ago)
It works! Thanks shak77! The reason is that there are 5 duplicated files inside XCode project. Remove it and it works.
 
OrchardApps
Code is Art
Profile
Posts: 115
Reg: Jan 11, 2012
Brisbane austra...
5,850
like
06/03/13 07:30 PM (10 years ago)
How do you find out where the duplicated files are? Thanks so much.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.