Xcode 10.1 - the file '***.app' couldn't be opened because you don't have permission to open it

I removed library lstdc++6.0.9.dylib from the project because it is not required and Xcode 10.1 won't let me compile.


Likewise, I leave Valid Architectures to be blank. When I try to run with the simulator, I get the permission error.


I have no executable prefix or extension, so my EXECUTABLE_NAME is the same as the PRODUCT_NAME. The code base has remained the same and I have no issue compiling, running in simulator, and creating a release with Xcode 8 or 9.


It would be very helpful if Xcode 10 can offer some hints as to what may be some causes for the permission message.


Please advise. Than you.

Replies

Is that (Xcode 10.x) project configured for legacy or new build system?


...can be checked/changed in the workspace settings (File > Workspace Settings… > Build System).