ios – ‘Executable path is a listing’ Xcode popup error


I’ve an iOS Xcode undertaking with 3 targets – AppTarget, Lib1 and Lib2.


  • AppTarget relies on Lib1 and Lib2. It has no code (SceneDelegate, AppDelegate and many others. is moved to Lib1).
  • Lib1 is a static library containing the AppDelegate and SceneDelegate (Lets not get into why they have been moved right here from the AppTarget).
  • Lib2 is a static library, depending on Lib1. It extends the SceneDelegate class utilizing swift extensions.

With a purpose to get the above construction, I had so as to add, take away file references and set dependencies.

Once I run the AppTarget, I get the next popup after construct succeeds,
enter image description here

Pasting the above error as a textual content,


Executable Path is a Listing
Area: DVTMachOErrorDomain
Code: 5
Restoration Suggestion: /Customers/<user_name>/Library/Developer/Xcode/DerivedData/<project_name>-bnytgzvocmpwyuajjxxjivpkymui/Construct/Merchandise/Debug-iphonesimulator/<project_name>.app isn't a sound path to an executable file.
Person Data: {
    DVTErrorCreationDateKey = "2022-11-03 08:04:49 +0000";

I am undecided why this occurred. I did not mess with the default executable path in Xcode->Preferences->Location tab.

There’s an Apple discussion board put up which describes the same error (not the identical).
The answer was to verify for references of previous information, which aren’t current now. I’ve verified the Goal->Construct Phases->Compile Sources of all 3 targets and issues are as anticipated….Did not see any ‘faint information’.

What am I lacking right here? Any assist can be vastly appreciated.

I am utilizing Xcode 14.0.1 and swift 5+.


Leave a Reply