gpt4 book ai didi

ios - clang : error: linker command failed: duplicate symbols for architecture x86_64

转载 作者:行者123 更新时间:2023-11-29 01:14:33 24 4
gpt4 key购买 nike

在我的应用程序中出现此错误:

linker command failed with exit code 1

/Users/mac/Library/Developer/Xcode/DerivedData/BalirajaTractor-cfrcwepounrfzmcqcpnfxpsftfdg/Build/Intermediates/BalirajaTractor.build/Debug-iphonesimulator/BalirajaTractor.build/Objects-normal/x86_64/MenuViewController.o
duplicate symbol _areaArray in:
/Users/mac/Library/Developer/Xcode/DerivedData/BalirajaTractor-cfrcwepounrfzmcqcpnfxpsftfdg/Build/Intermediates/BalirajaTractor.build/Debug-iphonesimulator/BalirajaTractor.build/Objects-normal/x86_64/AddProductViewController.o

/Users/mac/Library/Developer/Xcode/DerivedData/BalirajaTractor-cfrcwepounrfzmcqcpnfxpsftfdg/Build/Intermediates/BalirajaTractor.build/Debug-iphonesimulator/BalirajaTractor.build/Objects-normal/x86_64/MenuViewController.o
ld: 8 duplicate symbols for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

我最近遇到了类似的错误,因为我有 #import class.m 而不是 #import class.h。检查你是否犯了那个错误。

关于ios - clang : error: linker command failed: duplicate symbols for architecture x86_64,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35376864/

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