openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

macOS XCode build failed with unkown argument "-index-store-path" and cannot specify -o when generating multiple output files

Open tizee opened this issue 1 year ago • 1 comments

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

Screenshot
  • 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.

tizee avatar May 19 '24 03:05 tizee

After switching to the release scheme according to the logs from manual build with make , XCode could build the project successfully.

tizee avatar May 19 '24 03:05 tizee