mirror of
https://github.com/ProtonMail/ios-mail.git
synced 2026-06-14 09:54:45 +00:00
18b2a661663efd63b2a5d4cf30c9122d6f2e80fc
Mail iOS App for the Engineering Transformation project
Copyright (c) 2024 Proton Technologies AG
Setup instructions
- Install Xcode (>=15.2)
- Clone the repository
- Add a
.envfile with necessary secrets. The file is stored in a shared Pass vault. Request access to the team. - Run
./scripts/setup.shto generate the xcodeproj file. - Open
ProtonMail.xcodeproj
UI Tests setup instructions
- Clone the mocks repository locally https://gitlab.protontech.ch/android/mail/mail-apps-network-mocks. It's recommended to clone the mocks repository into the same parent directory as this project.
- From the Mail iOS App project root, run
./scripts/uitests/setup-mock-network-assets.sh setup-local - Follow the instructions and regenerate the project with
xcodegen.
Debug helpers
How to Access the Rust-Core SQLite Databases in the Simulator
- Locate the simulator files by navigating to
~/Library/Developer/CoreSimulator/Devices/<simulator device id>. - If you're unsure about the device id, you can find it in the log or by accessing it through
Xcode > Window > Devices and Simulators. - Once in the device directory, conduct a recursive search for
session.dbwithin thedatadirectory. This will unveil theApplication Supportfolder housing all rust-core databases. - Use your preferred SQLite inspection tool to inspect the SQLite files.
Languages
Swift
97.2%
HTML
2.1%
Objective-C
0.2%
JavaScript
0.2%
Python
0.1%
Other
0.1%