我正在尝试创建我的项目的存档,每次我都会收到此错误:
ld: can't open output file for writing: /Users/ranbeerhora/Documents/KicksendRepo/KickSend/trunk/KicksendiOSSwift /Build/Intermediates/ArchiveIntermediates/KickSend/IntermediateBuildFilesPath/KickSend.build/Release-iphoneos/KickSend.build/Objects-normal/arm64/KickSend, errno=21 for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我尝试了不同的方法,但没有一个解决方案有效。
最佳答案
我得到了答案。当我给出它工作的文件路径时,我没有在build设置中给出 Objective-C 桥接头文件的路径。
说明:
xcode 无法打开输出文件进行写入,因为它无法访问该文件,因为当我给出 xcode 找到文件的路径并且我能够创建存档时未给出路径。
关于ios - 为什么在 Xcode 7.2.1 中创建项目存档时出现此链接器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37672487/