gpt4 book ai didi

ios - 架构 i386 的重复符号错误?

转载 作者:行者123 更新时间:2023-11-29 03:09:50 24 4
gpt4 key购买 nike

我在构建应用程序时遇到以下错误。

我已经检查了以下内容,但错误仍然没有消失

1. file exists twice.
2. Import ".m" intead of .h
3. `File missing`
4. Duplicate function

还有其他要检查的吗?

 duplicate symbol _downloadCompleted in:
/Xcode/DerivedData/WAI2go-ckzrqcnbjsisokcplqkvzwxhclrg/Build/Intermediates/WAI2go.build/Debug-iphonesimulator/WAI2go.build/Objects-normal/i386/Middleware.o
Xcode/DerivedData/WAI2go-ckzrqcnbjsisokcplqkvzwxhclrg/Build/Intermediates/WAI2go.build/Debug-iphonesimulator/WAI2go.build/Objects-normal/i386/ZipArchive.o
duplicate symbol _onDownloadCompleted in:
Developer/Xcode/DerivedData/WAI2go-ckzrqcnbjsisokcplqkvzwxhclrg/Build/Intermediates/WAI2go.build/Debug-iphonesimulator/WAI2go.build/Objects-normal/i386/Middleware.o
Library/Developer/Xcode/DerivedData/WAI2go-ckzrqcnbjsisokcplqkvzwxhclrg/Build/Intermediates/WAI2go.build/Debug-iphonesimulator/WAI2go.build/Objects-normal/i386/ZipArchive.o
duplicate symbol _onImageDownloadCompleted in:
Developer/Xcode/DerivedData/WAI2go-ckzrqcnbjsisokcplqkvzwxhclrg/Build/Intermediates/WAI2go.build/Debug-iphonesimulator/WAI2go.build/Objects-normal/i386/Middleware.o
Developer/Xcode/DerivedData/WAI2go-ckzrqcnbjsisokcplqkvzwxhclrg/Build/Intermediates/WAI2go.build/Debug-iphonesimulator/WAI2go.build/Objects-normal/i386/ZipArchive.o
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

全局变量会导致这种问题。

关于ios - 架构 i386 的重复符号错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22345927/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com