iPhone SDK - 重复符号错误?我该如何解决这个问题?

发布于 2024-11-26 21:57:45 字数 1553 浏览 0 评论 0原文

错误日志

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

ld build/Debug-iphonesimulator/test.app/test 正常 i386 cd “/Users/justine/Desktop/test - iPhone/test”setenv MACOSX_DEPLOYMENT_TARGET 10.6 设置环境路径 “/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/用户/justine/桌面/测试- iPhone/测试/构建/调试-iphonesimulator” “-F/用户/justine/桌面/测试- iPhone/测试/构建/调试-iphonesimulator" -filelist “/用户/justine/桌面/测试 - iPhone/test/build/test.build/Debug-iphonesimulator/test.build/Objects-normal/i386/test.LinkFileList" -mmacosx-版本-min=10.6 -Xlinker -objc_abi_版本 -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -框架 CFNetwork -框架 MobileCoreServices -框架 系统配置-lz.1.2.3 -o“/Users/justine/Desktop/test - iPhone/test/build/Debug-iphonesimulator/test.app/test"

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

Error log

Build test of project test with configuration 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/test/build/Debug-iphonesimulator" -filelist
"/Users/justine/Desktop/test -
iPhone/test/build/test.build/Debug-iphonesimulator/test.build/Objects-normal/i386/test.LinkFileList"
-mmacosx-version-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/Debug-iphonesimulator/test.app/test"

ld: duplicate symbol _OBJC_IVAR_$_ASIAuthenticationDialog.request in
/Users/justine/Desktop/test -
iPhone/test/build/test.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 returned 1 exit status Command
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
failed with exit code 1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

酷到爆炸 2024-12-03 21:57:45

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

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

据我所知,它称为 ASIAuthenticationDialog。
检查一下是否有那个。

It seems you have a duplicated file:

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

For what i see its called ASIAuthenticationDialog.
Check for that one.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文