Skip to content

System frameworks / libraries for macOS, iOS, tvOS kept in config.make, GUI fields and help tab - #690

Merged
danoli3 merged 4 commits into
openframeworks:masterfrom
danoli3:apple-system-frameworks
Oct 31, 2026
Merged

danoli3 merged 4 commits into
openframeworks:masterfrom
danoli3:apple-system-frameworks

Conversation

@danoli3

@danoli3 danoli3 commented Oct 31, 2026

Copy link
Copy Markdown
Member

Updated cmdLine from 0.117.0 to 0.118.0 and PG GUI from 0.111.0 to 0.112.0 (0.112.0 also covers #689, whose bump didn't make it into the merge)

Add Apple SDK frameworks and libraries (Security, CoreBluetooth, sqlite3 = libsqlite3.tbd ...) to a project and keep them with it, in config.make:

PROJECT_FRAMEWORKS = Security CoreBluetooth
PROJECT_SYSTEM_LIBS = sqlite3 z

cmdLine

  • reads both from the project's config.make on every create / update and writes them back (fills the template's commented line, or appends; a new config.make for ios / tvos)
  • -f / --frameworks (existing, wasn't saved) and new --system-libs; libsqlite3, libsqlite3.tbd, -lsqlite3, Security.framework all work; empty removes them
  • Xcode: frameworks from the SDK as before, libraries as usr/lib/lib<name>.tbd in Link Binary With Libraries
  • -f no longer ignores addons.make (it set bAddonsPassedIn)
  • prints { "systemFrameworks": ... } / { "systemLibs": ... }

GUI

  • System frameworks / System libraries fields when an Apple platform is selected, filled from config.make on import, all 9 locales
  • new help tab: create / update, addons.make / config.make, platforms, system frameworks, advanced options, downloads, command line

make / CMake read the same lines: openframeworks/openFrameworks#8632

Tested on macOS: osx project with -fSecurity,libsqlite3 --system-libs=z builds in Xcode and runs (sqlite3_libversion, zlibVersion, SecRandomCopyBytes); update without flags keeps them; empty flags remove them and the link fails on _sqlite3_libversion; ios project gets the .tbd / frameworks and a config.make; GUI import fills the fields and Update writes the edited list.

@danoli3
danoli3 merged commit 048f665 into openframeworks:master Oct 31, 2026
5 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