Cocos2dx v4.0 iOS build does not run

After creating an IOS basic project in cocos2dx ver4.0, it was built.

The build was successful, but the following message pop-up appeared and it was not executed.

I checked to see if there were any missing files, but the files were all set normally.

I would be grateful if you could tell me what to do in this case.

Xcode 14.2

Executable Path is a Directory

Domain: DVTMachOErrorDomain

Code: 5

Recovery Suggestion: /Volumes/GameProject/Develop/Test/ios-build/bin/Test/Debug/Test.app is not a valid path to an executable file.

User Info: {

DVTErrorCreationDateKey = “2023-02-08 08:48:42 +0000”;

}

Hello how did you resolve this ?

did you find any solution ?