Skip to content

Commit

Permalink
Document problems with missing Xcode CLT
Browse files Browse the repository at this point in the history
  • Loading branch information
filips123 committed Sep 15, 2024
1 parent edbfd5c commit 461afb4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions docs/docs/help/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,25 @@ To fix this problem:

6. Run [the "Patch profiles and runtime" option](../user-guide/extension.md#patch-profiles-and-runtime) from the extension settings.

### Why does installing a web app fail on macOS?

Compiling the loader while installing a web app on macOS requires the Xcode Command
Line Tools to be installed.

They should be automatically installed when using Homebrew. If they are not installed,
you can install them by running the following command:

```shell
xcode-select --install
```

If the Xcode Command Line Tools are installed, but the web app installation still fails,
you can try to remove them by running the following command and install them again:

```shell
sudo rm -rf /Library/Developer/CommandLineTools
```

### Why doesn't allowing microphone or camera work on macOS?

Due to [an unknown problem](https://github.com/filips123/PWAsForFirefox/issues/404),
Expand Down
2 changes: 1 addition & 1 deletion native/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ script = """
# Use sudo if it exists
SUDO=$(which sudo) || $(echo "")
# Install Command Line Tools for Xcode
# Install Xcode Command Line Tools
$SUDO xcode-select --install || true
# Copy all files to the correct locations
Expand Down

0 comments on commit 461afb4

Please sign in to comment.