Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove error: the replacement path doesn't exist in Xcode

Tags:

xcode

I deleted an old project from my Mac. Now in my current project, which has no connections with the old, I get a message:

error: the replacement path doesn't exist: "/path/to/old/project"

when I run on my iOS device.

  1. How is it possible? These two projects have never had any relations.
  2. How to fix it?
like image 576
USOV Avatar asked Jun 04 '26 17:06

USOV


1 Answers

Ok, I made some investigation.

First solution

First and lazy solution - you can turn off the "debug executable" option in your scheme:

screenshot of the first solution

Second solution

Actually, you can find some files under your ~/ directory, they are hidden, so you should use command + shift + . to see them:

screenshot of files

.lldbinit and (maybe a little different) .lldbinit-tulsiproj in my case, I think, it was connected because a building of Telegram.app and little touch a Bazel thing https://bazel.build/

... so, just delete them both and you are happy with a clear debug console!

like image 109
USOV Avatar answered Jun 08 '26 00:06

USOV