Skip to content

Commit b64b709

Browse files
authored
VPN-7269 update documentation (#10782)
1 parent 6fbf715 commit b64b709

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

docs/Building/ios.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@ $ ./scripts/macos/conda_setup_qt.sh
3232

3333
Complete the steps in [macOS.md#configure-xcode-build-environment](./macos.md#configure-xcode-build-environment).
3434

35+
## Create symbolic links for iOS SDKs
36+
**(Only for macOS 26 and higher.)**
37+
38+
_Xcode 26 has changed where iOS SDKs are stored. Symbolic links must be created so `qt-cmake` can find the SDK.
39+
(If a future version of `qt-cmake` changes how it looks for iOS SDKs, this section can be removed.)
40+
41+
```bash
42+
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
43+
$ ln -s iPhoneOS.sdk iPhoneOS18.1.sdk # (for iOS 18.1 - change the version number for other SDK versions)
44+
```
45+
46+
*Important: The specific iOS SDK versions must also be downloaded via Xcode. Creating a symbolic link will not download the SDK automatically.*
47+
48+
3549
## Build
3650

3751
Configure, using the qt-cmake

docs/Building/macos.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -114,26 +114,6 @@ This will produce an macOS installer package at `build-macos/macos/pkg/MozillaVP
114114

115115
# Building with Xcode
116116

117-
## Configure Xcode build environment
118-
119-
You need to tell Xcode where to find the versions of rust and go that we have installed in our
120-
conda environment.
121-
122-
First find and go to the Xcode `/usr/bin` directory. The `xcrun` step you ran earlier will give you a hint
123-
where to look. It is usually, `/Applications/Xcode.app/Contents/Developer/usr/bin/`.
124-
125-
```
126-
cd /Applications/Xcode.app/Contents/Developer/usr/bin/
127-
```
128-
129-
Now activate your conda environment
130-
131-
```
132-
conda activate vpn
133-
```
134-
135-
# Building
136-
137117
Use the same configure command above and use `-GXcode` as the CMake generator:
138118

139119
```

0 commit comments

Comments
 (0)