I used CMake to generate a Makefile and build for iOS using that.
This creates a
.app file, but if I try to load it onto my phone I get this error message:
Even if I give a value to CFBundleExecutable in the plist file, it still shows the same error. I can also verify that the plist has this value by right clicking the
.app file and clicking “Show Package Contents”. Inside the Contents folder is a plist file that has the correct value:
I’m on macOS Monterey version 12.6, with cocos2d-x version 4. My phone is on iOS 16.1.1. I’m using Xcode version 14.1.
What’s going wrong here?