Xcode 6.4 The Application You Have Selected Does Not Exist
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Introduction
This Xcode message usually does not mean your source code vanished. It usually means Xcode tried to launch an app bundle at a path that no longer exists, or the selected scheme is pointing at the wrong executable. In older Xcode versions such as 6.4, stale build products and scheme drift were especially common causes.
What Xcode Is Looking For
When you press Run, Xcode does several things in sequence:
- builds the selected target
- locates the generated
.appbundle - launches that bundle in the simulator or on a device
If the build succeeds but the expected app path is stale, or if the scheme points at the wrong target, Xcode can reach the launch step and then fail with "The Application You Have Selected Does Not Exist."
That is why the problem is usually about build metadata, not app logic.
Check the Scheme First
The first thing to verify is that the selected scheme actually runs the application target you think it does.
Look at the scheme and confirm:
- the Build action includes the correct app target
- the Run action points to that same target
- the executable is the app, not a framework, test bundle, or stale duplicate target
This matters most in projects that were renamed, duplicated, or upgraded over time. Old schemes can keep references to products that are no longer built.
Clean Build Products and Derived Data
Stale build output is a classic cause. Clean the build folder and rebuild. If that does not help, remove DerivedData so Xcode regenerates its cached paths.
After that, reopen the project or workspace and build again.
This is a blunt fix, but it works often because the error message is frequently caused by cached paths to an app bundle that was moved, renamed, or deleted.
Look for Product Name or Path Changes
If someone changed PRODUCT_NAME, build directories, or related output settings, Xcode may build an app bundle whose name or location no longer matches what the scheme expects.
That can happen after:
- renaming the target
- duplicating a project
- changing build configuration settings
- switching between project and workspace setups
If the scheme expects OldApp.app but the build now produces NewApp.app, the launcher will fail even though compilation succeeded.
Confirm the App Bundle Actually Exists
Sometimes the cleanest debugging step is to verify that the build produced an application bundle at all. Build the project, open the Products group in Xcode, and inspect whether the app target appears correctly.
If the build product is missing entirely, the problem is not the launcher. It is a build configuration problem upstream.
If the product exists but the scheme still cannot launch it, the problem is usually in scheme configuration or cached metadata.
Multi-Target Projects Make This Worse
This error becomes more common when the project includes:
- app extensions
- frameworks
- unit-test targets
- UI-test targets
- duplicated app targets for different environments
In those cases, the selected scheme may build one product but try to launch another. Older Xcode versions were less forgiving about these mismatches, so legacy projects often need an explicit scheme cleanup.
A Practical Recovery Sequence
When you want a reliable troubleshooting order, use this sequence:
- confirm the correct scheme is selected
- inspect the Run action executable
- clean the build folder
- remove DerivedData
- rebuild and confirm the
.appproduct exists - inspect build settings for renamed products or custom output paths
That progression catches most real causes without changing source code at all.
Common Pitfalls
- Assuming the simulator or device is the problem when the app bundle path is wrong.
- Cleaning once and never checking whether the scheme points at the right executable.
- Forgetting old target renames or duplicated targets that left stale scheme entries behind.
- Customizing product names or build directories without updating related scheme assumptions.
- Treating the message as a code bug when it is usually a project-configuration bug.
Summary
- This Xcode error usually means the selected scheme cannot find the built app bundle where it expects it.
- Start with scheme settings, not source-code debugging.
- Clean build output and DerivedData when stale paths are likely.
- Verify that the app target actually produces the expected
.appbundle. - In older Xcode projects, renamed targets and stale schemes are common root causes.
Related reading
- Xcode 6 - How to pick signing certificate/provisioning profile for Ad-Hoc distribution?
- Xcode 6 - Launch simulator from command line
- Xcode 6 beta 2 issue exporting .ipa Your account already has a valid iOS distribution certificate
- Xcode 6 Bug Unknown class in Interface Builder file
- Xcode 6 Keyboard does not show up in simulator
- Xcode 6 Keyboard does not show up in simulator
- Xcode 6 iPhone Simulator Application Support location
- Xcode 6 process launch failed timed out trying to launch app
.png&w=3840&q=75)
Tackling System Design Interview Problems
A short course that equips you with the skills to approach system design interviews methodically.
Start the free courseTrack what you have practised
A free account saves your progress, solutions and study plan across every problem on Codemia.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.