2010-02-06 59 views
0

下列錯誤是由什麼引起的?我沒有做任何顯著的變化,突然它開始出現:奇怪的是,Xcode for iPhone dev中突然編譯失敗的錯誤

Linking /Users/JimB/Desktop/iPhone Dev/Games4Kids/build/Debug-iphonesimulator/ETFanClub.app/Games4Kids(1 error) 



duplicate symbol .objc_category_nameNSString_HTTPExtensions in (path)ViewController3 and (path)ViewController1 



Command /Xcode 3.1.4/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 
+0

請發佈整個錯誤消息。 – kennytm 2010-02-06 15:00:58

+0

好吧,我發佈了錯誤信息 – RexOnRoids 2010-02-06 15:09:23

回答

1

符號.objc_category_nameNSString_HTTPExtensions被複制,這意味着NSString(HTTPExtensions)聲明的類別兩次ViewController3ViewController1

檢查你沒有@implementation的通過這兩個文件,他們做的-ed頭#import不是都有@implementation NSString(HTTPExtensions)同時進行。

+0

geez你是好人 – RexOnRoids 2010-02-07 03:27:31