修复错误重复符号 _response in: ....: linker command failed with exit code 1 (use -v to see invocation)
Fixing error duplicate symbol _response in: ....: linker command failed with exit code 1 (use -v to see invocation)
我尝试重命名我的项目,但 Xcode 崩溃并且无法再次打开,所以我创建了一个新项目并复制了我需要的文件并构建了该项目以显示此错误...我不知道如何解决这个问题..有点绝望..真的需要帮助
duplicate symbol _response in:
/Users/myname/Library/Developer/Xcode/DerivedData/Garda_Station_Locator-dhfsoolpnjuqneegoeyzxismsykb/Build/Intermediates/Garda Station Locator.build/Debug-iphonesimulator/Garda Station Locator.build/Objects-normal/x86_64/Service.o
/Users/myname/Library/Developer/Xcode/DerivedData/Garda_Station_Locator-dhfsoolpnjuqneegoeyzxismsykb/Build/Intermediates/Garda Station Locator.build/Debug-iphonesimulator/Garda Station Locator.build/Objects-normal/x86_64/County.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Service 和 County 文件似乎都有响应符号。也许旧项目有一个预处理器符号排除了一个,或者两个文件实际上都没有在目标中编译。
我尝试重命名我的项目,但 Xcode 崩溃并且无法再次打开,所以我创建了一个新项目并复制了我需要的文件并构建了该项目以显示此错误...我不知道如何解决这个问题..有点绝望..真的需要帮助
duplicate symbol _response in:
/Users/myname/Library/Developer/Xcode/DerivedData/Garda_Station_Locator-dhfsoolpnjuqneegoeyzxismsykb/Build/Intermediates/Garda Station Locator.build/Debug-iphonesimulator/Garda Station Locator.build/Objects-normal/x86_64/Service.o
/Users/myname/Library/Developer/Xcode/DerivedData/Garda_Station_Locator-dhfsoolpnjuqneegoeyzxismsykb/Build/Intermediates/Garda Station Locator.build/Debug-iphonesimulator/Garda Station Locator.build/Objects-normal/x86_64/County.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Service 和 County 文件似乎都有响应符号。也许旧项目有一个预处理器符号排除了一个,或者两个文件实际上都没有在目标中编译。