yonaskolb / yonaskolb/XcodeGen
Xcode 16 warning on framework with unsandboxed preBuildScripts
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
From Xcode 16, a warning appears for all our framework targets:
tasks in 'Copy Headers' are delayed by unsandboxed script phases; set ENABLE_USER_SCRIPT_SANDBOXING=YES to enable sandboxing
When moving the run script (added with "preBuildScripts") AFTER the Headers phase, the warning disappears.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the XcodeGen code that generates framework targets and applies preBuildScripts. Reproduce the warning with Xcode 16, then inspect the generated build-phase order and confirm that the script phase is placed after Copy Headers. Done means generated framework targets no longer show this warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100