- `-F <dir>` CLI flag adds Apple framework search paths (parallel to `-L`). - `TargetConfig.framework_paths` flows into the iOS link line (`-F<dir>`). - iOS link adds `-Wl,-rpath,@executable_path/Frameworks` so embedded frameworks resolve at runtime. - `createBundle` now takes the framework list; for each one it locates `<name>.framework` in the `-F` paths and `cp -R`s it into `<bundle>.app/Frameworks/`. - `c_import.compileCToObjects` forwards `-target`/`-isysroot` to clang so `#c_import` works under cross-compile (was using host clang implicitly). - iOS SDK is auto-discovered once at startup and shared by both the C compile and the link paths. - `SX_DEBUG_LINK=1` prints the resolved link argv. - `library/modules/sdl3.sx`: drop `#library "SDL3"` — linking is now per-target (build.sx handles `-lSDL3` on macOS, `-framework SDL3` on iOS).
10 KiB
10 KiB