Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Executable Not Found. xxx.app is not a valid path to an executable file

Tags:

xcode

xcode12

Details

Executable Not Found Domain: DVTMachOErrorDomain Code: 5 Recovery Suggestion: /Users/riber/Library/Developer/Xcode/DerivedData/digitalCurrency-hiyiyrokjaydkiagjimlwohehrtu/Build/Products/Debug-iphonesimulator/digitalCurrency.app is not a valid path to an executable file. Please rebuild the project to ensure that all required executables are created. Check your project settings to ensure that a valid executable will be built.

System Information

macOS Version 11.4 (Build 20F71) Xcode 12.5 (18205) (Build 12E262) Timestamp: 2021-06-11T16:34:20+08:00

like image 387
Riber Avatar asked Jun 11 '21 09:06

Riber


2 Answers

Check if all files are available.

Targets -> Build Phases -> Compile Sources

If you see faint files, then they need to be removed or added.

View Screen

like image 197
Sosin Vitalii Avatar answered Oct 16 '22 00:10

Sosin Vitalii


Under "Build Settings" - "Architectures" check that you don't have "arm64" excluded under "Excluded architectures" for release, as all new iOS devices use this architecture.

like image 27
Manuel Castillo Avatar answered Oct 15 '22 23:10

Manuel Castillo