0

错误日志

使用配置 Debug 构建项目测试的测试

ld build/Debug-iphonesimulator/test.app/test normal i386 cd "/Users/justine/Desktop/test - 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 /Developer/Platforms /iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk "-L/Users/justine/Desktop/test - iPhone/test/build/Debug-iphonesimulator" "-F/Users/justine/Desktop/test - iPhone/测试/构建/调试-iphonesimulator" -filelist "/Users/justine/Desktop/test - iPhone/test/build/test.build/Debug-iphonesimulator/test.build/Objects-normal/i386/test.LinkFileList" -mmacosx -版本-min = 10。6 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -framework CFNetwork -framework MobileCoreServices -framework SystemConfiguration -lz.1.2.3 -o "/Users/justine/Desktop/test - iPhone/test/build/调试-iphonesimulator/test.app/test"

ld:在/Users/justine/Desktop/test - iPhone/test/build/test.build/Debug-iphonesimulator/test.build/Objects-normal/i386/ASIAuthenticationDialog-F3DE19D52DB79A72.o和/中重复符号_OBJC_IVAR_$_ASIAuthenticationDialog.request用户/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

4

1 回答 1

3

看来您有一个重复的文件:

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

对于我所看到的它称为 ASIAuthenticationDialog。检查那个。

于 2011-07-29T01:35:57.320 回答