'Swift application doesn't start after archived into a .zip

I've built default Swift Application using SwiftUI (remade by Xcode). Then I've archived it in a .zip file. But when I extract this one it is returning an error: "The application 123 can't be opened". Running "sudo xattr -cr 123.app" will open the application...

Way to fix this issue? I'm not configuring anything in project settings.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source