You’re now watching this thread. If you’ve opted in to email or web notifications, you’ll be notified when there’s activity. Click again to stop watching or visit your profile to manage watched threads and notifications.
You’ve stopped watching this thread and will no longer receive emails or web notifications when there’s activity. Click again to start watching.
Hi i am currently using XCode 15 to build a Swift command line application.
But when I try to build & debug my project, it throws an error saying that it could not launch the executable.
It does build but as the error suggests, the Build dir does not have a executable in it. I have messed around with DerivedData & Build location settings for quite a bit with no luck.
Currently both of them are at default settings as I cleared XCode caches from ~/Library/Caches & created a new project. I tried compiling the basic Hello World but that seems to "build" but with no executable.
I have attached the report for the Could not launch error
Please reply as a reply. I’m not notified when you reply in the comments. For this and other titbits, see Quinn’s Top Ten DevForums Tips.
Yes same problem with a brand new project as well.
Hmmm, that’s weird. I’ve seen problems like this before and they’re usually related to build settings, but that’s not a possibility if you start with a new project.
If you create a new local user on your Mac — using Settings > Users & Groups — does the problem reproduce there?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = "eskimo" + "1" + "@" + "apple.com"