gpt4 book ai didi

ios - 归档项目 : ld: can't open output file for writing 时出错

转载 作者:搜寻专家 更新时间:2023-10-31 19:38:43 25 4
gpt4 key购买 nike

当我在设备上运行我的应用程序时,它运行良好,但是当我尝试将其存档以上传到 iTunes Connect 时,出现此错误:

错误一:

ld: can't open output file for writing: /Users/xxxx/Library/Developer/Xcode/DerivedData/Drikkespillet-bmengfxihzksonhdoqpbllpzpagg/Build/Intermediates/ArchiveIntermediates/Drikkespillet/IntermediateBuildFilesPath/Drikkespillet.build/Release-iphoneos/Drikkespillet.build/Objects-normal/arm64/Drikkespillet, errno=21 for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

错误 2:

ld: can't open output file for writing: /Users/xxxx/Library/Developer/Xcode/DerivedData/Drikkespillet-bmengfxihzksonhdoqpbllpzpagg/Build/Intermediates/ArchiveIntermediates/Drikkespillet/IntermediateBuildFilesPath/Drikkespillet.build/Release-iphoneos/Drikkespillet.build/Objects-normal/armv7/Drikkespillet, errno=21 for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)

我试图同时删除“框架搜索路径”和“库搜索路径”。但是存档项目仍然不起作用。这里有什么建议吗?

最佳答案

在项目文件中转到build设置 -->Architectures 部分 --> valid Architectures -->删除 arm64

关于ios - 归档项目 : ld: can't open output file for writing 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32994065/

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