Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Fix the documentation for Xcode #21

Merged
merged 4 commits into from
Jan 18, 2024
Merged

Fix the documentation for Xcode #21

merged 4 commits into from
Jan 18, 2024

Conversation

pepicrft
Copy link
Collaborator

It turns out that Xcode uses /usr/bin/sandbox-exec to run the build scripts, ensuring that the script only has access to a limited (and configurable) set of files in the file system. Therefore, it's required for $SRCROOT/.mise.toml to be listed in the list of input files for mise install -C $SRCROOT to work ($SRCROOT points to the root directory containing the project). Otherwise, the command fails due to permission errors.

This PR adjusts the documentation accordingly, and also includes an alternative path for developers that don't want to be prefixing their commands with mise x

@pepicrft pepicrft requested a review from jdx January 17, 2024 12:44
@pepicrft pepicrft self-assigned this Jan 17, 2024
ide-integration.md Outdated Show resolved Hide resolved
ide-integration.md Outdated Show resolved Hide resolved
```


::: tip NOTE
Copy link
Owner

Choose a reason for hiding this comment

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

is the NOTE part of this correct?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah. VitePress supports custom containers

Copy link
Owner

Choose a reason for hiding this comment

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

I know but shouldn't it just be ::: tip?

ide-integration.md Outdated Show resolved Hide resolved
@pepicrft
Copy link
Collaborator Author

Comments addressed

@pepicrft pepicrft merged commit 3491836 into main Jan 18, 2024
1 check passed
@pepicrft pepicrft deleted the xcode-fixes branch January 18, 2024 09:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants