Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 13, 2013, 08:07 AM   #1
adildacoolset
macrumors 65816
 
Join Date: Sep 2011
Location: Lusaka, Zambia(If you know where it is)
Linker command failed with exit code 1

So, I'm trying to compile this project. What's happening is that I'm getting this error code:
Code:
ld: 6 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
No I checked if there were any duplicates in the compile sources section. There was nothing.

And in the class which I had added, I had imported the .h file. Please help me.
__________________
Last edited by adildacoolset; Tomorrow at 09:42 AM. Reason: grammar error
adildacoolset is offline   0 Reply With Quote
Old Feb 13, 2013, 04:24 PM   #2
PhoneyDeveloper
macrumors 68030
 
PhoneyDeveloper's Avatar
 
Join Date: Sep 2008
The duplicate symbol error should show the symbols that have been duplicated.

This can happen by something like this

#import "MyViewController.m"

At any rate. Show the full error message.
PhoneyDeveloper is offline   0 Reply With Quote
Old Feb 15, 2013, 06:00 AM   #3
adildacoolset
Thread Starter
macrumors 65816
 
Join Date: Sep 2011
Location: Lusaka, Zambia(If you know where it is)
Quote:
Originally Posted by PhoneyDeveloper View Post
The duplicate symbol error should show the symbols that have been duplicated.

This can happen by something like this

#import "MyViewController.m"

At any rate. Show the full error message.
Never mind. I looked at the full error message. Turns out I was importing a folder too many times. Thanks for the assistance!
__________________
Last edited by adildacoolset; Tomorrow at 09:42 AM. Reason: grammar error
adildacoolset is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Command-R Disk Repair Failed John Greer MacBook Pro 4 Mar 11, 2014 05:25 AM
Mach-O Linker Error: Duplicate Symbols moonman239 iPhone/iPad Programming 5 Oct 21, 2013 09:08 PM
Linker Command Failed Error, Please Help loon3y iPhone/iPad Programming 2 Sep 26, 2012 05:20 PM
Linker Command Failed With Exit Code 1? loon3y iPhone/iPad Programming 2 Sep 5, 2012 06:10 PM
"Boot failed! Press any key to enter command line." Ravich Windows, Linux & Others on the Mac 0 Jun 6, 2012 06:51 PM

Forum Jump

All times are GMT -5. The time now is 03:34 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC