explorer/darwin/ios/README.md
This document provides instructions for building the Lynx Explorer iOS app from source. If you just want to try out Lynx, you can download the pre-built app from the releases page instead.
The following dependencies are needed:
We recommend using Homebrew to install the dependencies.
Lynx requires Xcode 15.0 or later. It is recommended to keep Xcode up to date. You can install or update it on the App Store.
Command Line Tools are configuredxcode-select -p in the terminal, and if it prints a correct path, it's configure successfully.The yaml dependency needs to be installed to execute some auto-generation logic.
# use the virtual environment to manage python environment
python3 -m venv venv
source venv/bin/activate
# install PyYAML package
pip3 install pyyaml
Pull the code from the Github repository.
git clone https://github.com/lynx-family/lynx.git
Run the following commands from the root of the repository to install the dependencies.
cd lynx
tools/hab sync .
source tools/envsetup.sh
cd explorer/darwin/ios/lynx_explorer
./bundle_install.sh
LynxExplorer.xcworkspace will be generated in the lynx_explorer directory. Open LynxExplorer.xcworkspace by Xcode.LynxExplorer to execute the build in Xcode.By default, the project doesn't configure the "Team" for signing. If you want to change it to your Personal Team (associated with your Apple ID), follow these steps:
LynxExplorer.xcworkspace by Xcode.com.lynx.LynxExplorer to a unique identifier like com.<your-name>.LynxExplorer. This step ensures the identifier is unique and available for your use.When running ./bundle_install.sh command, if you encounter the following problems: Bundler::GemNotFound: Your bundle is lock to xxx, but that version could not be found in any of the sources listed in Gemfile... You can try running the following commands to fix the problem:
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk bundle install
./bundle_install.sh