Skip to content

fix: disable user script sandboxing to unblock Configure build phase#42

Merged
jdolan merged 2 commits into
mainfrom
copilot/fix-release-xcframework-job
Jul 1, 2026
Merged

fix: disable user script sandboxing to unblock Configure build phase#42
jdolan merged 2 commits into
mainfrom
copilot/fix-release-xcframework-job

Conversation

Copilot AI commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The release-xcframework job was failing because ENABLE_USER_SCRIPT_SANDBOXING = YES caused Xcode's sandbox to deny perl (used by autoreconf) read access to configure.ac during the "Configure" build phase — which generates Config.h via autoreconf -i && ./configure.

Changes

  • ObjectivelyMVC.xcodeproj/project.pbxproj: Set ENABLE_USER_SCRIPT_SANDBOXING = NO in both Debug and Release target build configurations. The Configure phase declares no inputPaths, so the sandbox had no basis for granting file-read access to the source tree.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job release-xcframework fix: disable user script sandboxing to unblock Configure build phase Jul 1, 2026
Copilot finished work on behalf of jdolan July 1, 2026 14:00
Copilot AI requested a review from jdolan July 1, 2026 14:00
@jdolan jdolan marked this pull request as ready for review July 1, 2026 14:03
Copilot AI review requested due to automatic review settings July 1, 2026 14:03
@jdolan jdolan merged commit 6c2faa4 into main Jul 1, 2026
1 check passed
@jdolan jdolan deleted the copilot/fix-release-xcframework-job branch July 1, 2026 14:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR unblocks the failing release-xcframework CI build by changing Xcode target build settings so the “Configure” shell script phase can access the source tree without being denied by user script sandboxing.

Changes:

  • Disabled ENABLE_USER_SCRIPT_SANDBOXING for the target’s Debug configuration.
  • Disabled ENABLE_USER_SCRIPT_SANDBOXING for the target’s Release configuration.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 1612 to 1616
buildSettings = {
DEFINES_MODULE = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(SRCROOT)/Frameworks",
Comment on lines 1631 to 1635
buildSettings = {
DEFINES_MODULE = YES;
ENABLE_USER_SCRIPT_SANDBOXING = YES;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(SRCROOT)/Frameworks",
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.

3 participants