Commit Graph
3 Commits
Author SHA1 Message Date
Ole André Vadla Ravnås f303a1d3f0 build: Run the pre-action without build settings
Xcode exported them to swift run, which warned about each package and
could not locate libSwiftScan.
2026-09-26 21:10:18 +02:00
Ole André Vadla Ravnås df91278690 build: Stage the Pharo image before xcodebuild
Xcode enumerates a package target's resources when it loads the
package graph, before any build phase runs. An image staged from a
script phase is missing from that build's LumaCore, and the playground
crashes on the unwrap in boot().

Move the staging into scripts/stage-pharo-image.sh, called from
generate-sources.sh and both Makefiles.
2026-08-18 11:27:48 +02:00
Ole André Vadla Ravnås 64a3a92fd0 build: Generate sources before xcodebuild
Xcode enumerates a package target's sources when it loads the package
graph, before any build phase or scheme pre-action runs, so generated
Swift that appears during a build is missing from that build.

Move generation into scripts/generate-sources.sh, run it from the
Makefile, CI and the Luma scheme's pre-action, and drop the
AgentBundle target. Say what to run when the files are not there yet.
2026-08-17 15:00:19 +02:00