Files

51 lines
1.5 KiB
Markdown

# Privado
Privado VPN iOS Client
## Requirements
- xcode 11.4
- developer tools (for build from console)
- swift 5.2
- swiftlint (https://github.com/realm/SwiftLint)
- sentry-cli (https://github.com/getsentry/sentry-cli)
- Provision profiles **imported manually** to xcode (don't forget about certificates)
- xcodegen (https://github.com/yonaskolb/XcodeGen)
## Deployment iOS
All files for iOS version placed in iOS folder.
##### Building application consists of several steps:
- To create xcframeworks run command (via terminal from the projects root folder):
```
./BuildTools/prepare_frameworks.sh
```
- To generate xcodeproj files, compile the application, create the archive, create ipa files and upload it to TestFlight run:
```
./BuildTools/build_iOS.sh
```
Make sure your provisioning profiles and certificates are installed and up to date.
At this point, you should be ready to build generated project in the iOS folder using XCode.
There may be a small bug with the synchronization of certificates, one of the solutions could be to enable automatic synchronization and then immediately disable it.
## Development
#### Info.plist
Info.plist file is located at
```
./iOS/Privado/Info.plist
```
Info.plist file could be used to add custom fonts. To do that, add .ttf/.otf files to ```/iOS/Assets/Font``` folder and add filenames to ```Info.plist``` attribute **fonts provided by application**.
## External frameworks
- OpenSSL
- Realm
- Sentry
- Sparkle
- TunnelKit
- AppCenter