Swift Package binary framework issue

We experienced a similar issue in Xcode 12.4 where a binary framework would be copied twice in to the archive, both in . and ./frameworks. The framework is depended by both another dependency and the app itself, so that might be the reason why it got copied twice.

Upgrading to Big Sur and Xcode 12.5 toolchain solved the problem.