Archiving error: ld: cannot open output file for writing

When I run my application on the device, it works fine, but when I try to download it to iTunes Connect, I get this error:

Error 1:

ld: cannot open the output file for writing: / Users / xxxx / Library / Developer / Xcode / DerivedData / Drikkespillet -bmengfxihzksonhdoqpbllpzpagg / Build / Intermediates / ArchiveIntermediates / Drikkespillet / IntermediateBuildFilesPath / Drikkespillet.build.pk normal / arm64 / Drikkespillet, errno = 21 for arm64 architecture clang: error: linker command failed with exit code 1 (use -v to call the call)

Error 2:

ld: cannot open the output file for writing: / Users / xxxx / Library / Developer / Xcode / DerivedData / Drikkespillet -bmengfxihzksonhdoqpbllpzpagg / Build / Intermediates / ArchiveIntermediates / Drikkespillet / IntermediateBuildFilesPath / Drikkespillet.build.pk normal / armv7 / Drikkespillet, errno = 21 for armv7 clang architecture: error: linker command failed with exit code 1 (use -v to call the call)

I tried to remove both "Framework Search Paths" and "Library Search Paths." But it does not work to archive the project. Any suggestions here?

+4
source share
1 answer

""arm64.

+1

Source: https://habr.com/ru/post/1610588/


All Articles