I have the this issue when I run the app on iOS Simulator after updating to app to make it compatible with Xcode-16 and iOS-18. after upgradation to Xcode-16 its giving the above error "Executable path is a directory" .This app work fine on Xcode-15 .
Note - The issue with iOS Simulator only. From XCode-16 build is created successfully and installed in iOS device.