In Xcode, I'm trying to run my code on a physical iPhone 12. The project builds correctly but then I get an error: "Executable path is a Directory" MyProject.app is not a valid path to an executable file.
I suspect that the architecture might wrong. I'm using:
//:configuration = Debug
VALID_ARCHS = armv7 armv7sarm64 arm64e armv7 armv7s x86_64
//:configuration = Release
VALID_ARCHS = armv7 armv7sarm64 arm64e armv7 armv7s x86_64
I can successfully run in the simulator with the iPhone 12 simulator I using Xcode 14.3.1.
Any thoughts?