Skip to content
Official ProtonVPN iOS app
Swift Ruby Other
Branch: master
Clone or download
Robert Patchett
Robert Patchett Merge branch 'release' into 'master'
Release 1.4.0

See merge request apple/vpn/ios-app!13
Latest commit 965e7cc Feb 10, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Pods
ProtonVPN.xcodeproj Fix build number and shortcut spelling errors Feb 9, 2020
ProtonVPN.xcworkspace Initial commit Jan 20, 2020
ProtonVPN
ProtonVPNTests Initial commit Jan 20, 2020
ProtonVPNUITests Initial commit Jan 20, 2020
Quick Connect Widget Fix build number and shortcut spelling errors Feb 9, 2020
Shared Initial commit Jan 20, 2020
Siri Shortcut Handler
fastlane Initial commit Jan 20, 2020
.gitignore Initial commit Jan 20, 2020
.gitlab-ci.yml
.swiftlint.yml Initial commit Jan 20, 2020
ACKNOWLEDGEMENTS.md Initial commit Jan 20, 2020
CODEOWNERS Initial commit Jan 20, 2020
CONTRIBUTING.md Initial commit Jan 20, 2020
Gemfile Initial commit Jan 20, 2020
Gemfile.lock
LICENSE Initial commit Jan 20, 2020
Podfile Fix build number and shortcut spelling errors Feb 9, 2020
Podfile.lock Initial commit Jan 20, 2020
README.md Initial commit Jan 20, 2020

README.md

ProtonVPN for iOS

Copyright (c) 2020 Proton Technologies AG

Dependencies

This app uses CocoaPods for most dependencies, including our vpncore framework (which is shared between iOS and macOS).

Internal

vpncore

Third-party dependencies

ACKNOWLEDGEMENTS.md

Setup

  • Clone this repository
  • Clone the vpncore framework at the same directory level as this repo
  • Run pod install first in vpncore and then this repository
  • Open ProtonVPN.xcworkspace in Xcode
  • Configure code signing for all targets with a paid Apple developer account (required due to VPN entitlements) and change the bundle identifiers to something unique
  • Build app twice

Staying in Sync

To stay in sync with changes made to vpncore, follow these three steps:

  • Run pod install
  • Clean build folder in Xcode (Cmd+Shift+K)
  • Build app

Testing

For UI tests to work, you have to copy ProtonVPNUITests/credentials.example.plist as ProtonVPNUITests/credentials.plist and enter working credentials and corresponding plan names. To add credentials on CI server, add env variables (at least 1 user is needed, up to 5 users can be added):

export IOS_VPNTEST_USER1=user1 IOS_VPNTEST_PASSWORD1=pass1 IOS_VPNTEST_PLAN1=plan1
export IOS_VPNTEST_USER1=user2 IOS_VPNTEST_PASSWORD1=pass2 IOS_VPNTEST_PLAN1=plan2
export IOS_VPNTEST_USER1=user3 IOS_VPNTEST_PASSWORD1=pass3 IOS_VPNTEST_PLAN1=plan3
export IOS_VPNTEST_USER1=user4 IOS_VPNTEST_PASSWORD1=pass4 IOS_VPNTEST_PLAN1=plan4
export IOS_VPNTEST_USER1=user5 IOS_VPNTEST_PASSWORD1=pass5 IOS_VPNTEST_PLAN1=plan5

License

The code and datafiles in this distribution are licensed under the terms of the GPLv3 as published by the Free Software Foundation. See https://www.gnu.org/licenses/ for a copy of this license.

Copyright (c) 2019 Proton Technologies AG

You can’t perform that action at this time.