Failed to open file for download.

When trying to download the container of my app I am now getting the error "Failed to open file for download".

This used to work nicely.

I cannot tell for sure, but the issue seams to have appeared with my first upload to appstoreconnect for distribution over TestFlight. I have read at various forums that the app must be built for debug for the container download to work.

I believe this is what I am doing (see scheme screenshot). I have also removed the .completeFileProtection flag when saving my flags.

--> How can I download my container?

Failed to open file for download.
 
 
Q