2011-07-29 90 views
0

錯誤日誌配置調試iPhone SDK - 重複符號錯誤?我該如何解決?

Ld的構建/調試-iphonesimulator/test.app /測試正常I386 CD 「/用戶/海寧/桌面/測試項目測試

搭建測試 - iPhone/test「setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH 」/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin「 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot 0 iPhone/test/build/Debug-iphonesimulator「 」-F /用戶/測試/ justin/Desktop/test - iPhone/test/build/Debug-iphonesimulator「-filelist 」/ Users/justine/Desktop/test - iPhone/test/build/test.build/Debug-iphonesimulator/test.build/Objects - 正常/ I386/test.LinkFileList」 -mmacosx版本分鐘= 10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework基金會-framework的UIKit -framework CoreGraphics中 -framework CFNetwork的-framework MobileCoreServices -framework SystemConfiguration -lz.1.2 .3 -o「/ Users/justine/Desktop/test - iPhone /測試/建設/調試-iphonesimulator/test.app /測試」

LD:重複的符號_OBJC_IVAR _ $ _ ASIAuthenticationDialog.request在 /用戶/海寧/桌面/測試 - iPhone /測試/構建/測試。 build/Debug-iphonesimulator/test.build/Objects-normal/i386/ASIAuthenticationDialog-F3DE19D52DB79A72.o and/Users/justine/Desktop/test - iPhone/test/build/test.build/Debug-iphonesimulator/test.build /Objects-normal/i386/ASIAuthenticationDialog-6A37D8A080A72C67.o collect2:LD返回1退出狀態命令 /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 失敗,退出代碼1

+0

哎呀!發現問題,重複asiauthenticationdialog.m文件! – Justine4601

回答

3

看來你有一個重複的文件:

ld: duplicate symbol .......... 

什麼,我看到它叫做ASIAuthenticationDialog。 檢查那一個。

+0

看起來像答案。 – Kriem

相關問題