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 68020
 
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:47 AM.

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

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