Skip to content

Commit dff8b2d

Browse files
Add docs link and update content
1 parent 00573d2 commit dff8b2d

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ AccessibilityDevTools enables static accessibility linting directly inside Xcode
2727
4. To set these variables, add the appropriate export commands to your shell configuration file:
2828
* **Zsh**: Add the following lines to your `~/.zshrc` file:
2929
```zsh
30-
export BROWSERSTACK_USERNAME="<your-username>"
31-
export BROWSERSTACK_ACCESS_KEY="<your-access-key>"
30+
export BROWSERSTACK_USERNAME=<your-username>
31+
export BROWSERSTACK_ACCESS_KEY=<your-access-key>
3232
```
3333
* **Bash**: Add the following lines to your `~/.bashrc` or `~/.bash_profile` file:
3434
```bash
35-
export BROWSERSTACK_USERNAME="<your-username>"
36-
export BROWSERSTACK_ACCESS_KEY="<your-access-key>"
35+
export BROWSERSTACK_USERNAME=<your-username>
36+
export BROWSERSTACK_ACCESS_KEY=<your-access-key>
3737
```
3838
* **Fish Shell**: Add the following lines to your ~/.config/fish/config.fish file:
3939
```fish
@@ -44,7 +44,7 @@ AccessibilityDevTools enables static accessibility linting directly inside Xcode
4444
---
4545
## Installation
4646
### 1. Projects created with XCode
47-
> Note: XCode projects don’t have a `Package.swift` file. However, the script will manage this for you. If you prefer not to do this or face any issues, you can use our CLI for linting instead.
47+
> Note: XCode projects don’t have a `Package.swift` file. However, the script will manage this for you. If you prefer not to do this or face any issues, you can use our [CLI](https://www.browserstack.com/docs/accessibility-dev-tools/xcode-linter#CLI) for linting instead.
4848

4949
#### Clone Script
5050
Run the following command at the **root of your repository**
@@ -63,6 +63,9 @@ Fish
6363
```fish
6464
curl -L -o browserstack-a11y-scan-spm.sh "https://raw.githubusercontent.com/browserstack/AccessibilityDevTools/refs/heads/main/scripts/fish/spm.sh" && chmod 0775 browserstack-a11y-scan-spm.sh
6565
```
66+
#### Disable Sandboxing
67+
- In Xcode, select first item (project root) in the left folder tree and go to Build Settings tab
68+
- Search for `sandbox` > Set `User script sandboxing` to “NO”
6669

6770
#### Add a Build Phase
6871
Repeat these steps for each target in your project
@@ -130,6 +133,10 @@ Fish
130133
curl -L -o browserstack-a11y-scan-spm.sh "https://raw.githubusercontent.com/browserstack/AccessibilityDevTools/refs/heads/main/scripts/fish/spm.sh" && chmod 0775 browserstack-a11y-scan-spm.sh
131134
```
132135

136+
#### Disable Sandboxing
137+
- In Xcode, select first item (project root) in the left folder tree and go to Build Settings tab
138+
- Search for `sandbox` > Set `User script sandboxing` to “NO”
139+
133140
#### Add a Build Phase
134141
Repeat these steps for each target in your project
135142

0 commit comments

Comments
 (0)