While running my project with swift code in XCode 6.3 & XCode 7, I got this error:
The file “***.app” couldn’t be opened because you don’t have
by Choosing Legacy Build System from the workspace setting Solved my problem
File -> Workspace Settings -> Build System: Legacy Build System