Skip to content

APP_BUNDLE_ID in config.make / CMake for the macOS bundle identifier - #8636

Merged
danoli3 merged 1 commit into
openframeworks:masterfrom
danoli3:app-bundle-id
Nov 2, 2026
Merged

danoli3 merged 1 commit into
openframeworks:masterfrom
danoli3:app-bundle-id

Conversation

@danoli3

@danoli3 danoli3 commented Nov 1, 2026

Copy link
Copy Markdown
Member

Like APP_VERSION / APP_BUILD (#8592): the bundle identifier (CFBundleIdentifier) can be set per project instead of always being cc.openFrameworks.<name>. The projectGenerator keeps it with the project and sets it in Xcode / Android too (openframeworks/projectGenerator#696).

APP_BUNDLE_ID = com.example.myApp
  • osx / macos makefiles: APP_BUNDLE_ID ?= cc.openFrameworks.$(BIN_NAME), used for ${PRODUCT_BUNDLE_IDENTIFIER} in the Info.plist (was hardcoded)
  • CMake (apple.cmake): set(APP_BUNDLE_ID ...) replaces the default identifier for MACOSX_BUNDLE_GUI_IDENTIFIER / XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER / the plist; README table
  • osx / macos template config.make: documented, commented example

Default unchanged when it isn't set.

@danoli3
danoli3 merged commit 52d3d73 into openframeworks:master Nov 2, 2026
74 of 83 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant