-
Notifications
You must be signed in to change notification settings - Fork 118
ios
github-actions edited this page Jun 26, 2023
·
3 revisions
Building for iOS can only be done on a Mac.
Install Xcode - https://developer.apple.com/xcode/
Before you start this process, open Xcode, go to settings, accounts, and sign in with your Apple ID. If you are a Mozilla developer, this is an Apple ID associated with your LDAP account.
$ conda env create -f env.yml -n vpn
$ conda activate vpn
See here for conda environment instructions.
Install extra conda packages
$ conda activate vpn
$ ./scripts/macos/conda_install_extras.sh
$ conda activate vpn
$ ./scripts/macos/conda_setup_qt.sh
Complete the steps in macOS.md#configure-xcode-build-environment.
Configure, using the qt-cmake
qt-cmake -S . -B build-ios
This will generate an Xcode project file at build-ios/Mozilla VPN.xcodeproj
which can be opened
by Xcode:
open build-ios/Mozilla\ VPN.xcodeproj
Once Xcode has opened the project, select the mozillavpn
target and start the build.
Tips:
- If you can't see a simulator target in the Xcode interface, look at Product -> Destination -> Destination Architectures -> Show Both
- Due to lack of low level networking support, it is not possible to turn on the VPN from the iOS simulator in Xcode.