openFrameworks
openFrameworks copied to clipboard
macOS XCode build failed with unkown argument "-index-store-path" and cannot specify -o when generating multiple output files
My build environment
- OS: macOS 13.5
- XCode version: 15.2
- openFrameworks at git commit in master branch: 7f37e70
- projectGenerator.app: copied from the nightly release https://github.com/openframeworks/openFrameworks/releases/download/nightly/of_v20240518_osx_release.zip
- project info: generated using projectGenerator
- build scheme: Debug (which is the default scheme)
Expected behavior
- XCode builds the app successfully.
Actual behavior
- XCode faild to build with error messages of "-index-store-path" and cannot specify -o when generating multiple output files.
My workaround
Since there's a Makefile, I have to run make manually under the project root directory.
After switching to the release scheme according to the logs from manual build with make , XCode could build the project successfully.