2011-07-29 86 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

相关问题