Giter Site home page Giter Site logo

hl190909 / ios-mac-protonvpn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from protonvpn/ios-mac-app

0.0 0.0 0.0 191.48 MB

Official ProtonVPN iOS and macOS app

License: GNU General Public License v3.0

Shell 0.65% Ruby 0.40% Python 0.28% C 0.18% Objective-C 0.04% Swift 98.45% HTML 0.01%

ios-mac-protonvpn's Introduction

ProtonVPN for iOS and macOS

Copyright (c) 2021 Proton Technologies AG

Dependencies

This app uses CocoaPods for most dependencies. Everything is inside this repository, so no need to run pod install.

Third-party dependencies

ACKNOWLEDGEMENTS.md

Setup

  • Enable Git LFS on your machine
  • Clone this repository
  • Make sure you have go installed (brew install go)
  • 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
  • Clean build folder in Xcode (Cmd+Shift+K)
  • Build app twice

Code linting

During development swiftlint is run on non-strict mode so it's easier to develop without worrying about code formatting. On CI, linting is strict and will fail on any warning. Before commiting code to this repository run the following script to add a pre-commit hook that will check all new/modified files in strict mode and stop you from committing code that won't make it through CI.

./scripts/pre_commit_lint.sh setup

Localization

The app uses SwiftGen to generate the Localizable.strings file for accessing all the app strings stored in the standard Localizable.strings files. Just add a new string, build the project and Localizable.strings gets regenerated with the new string. The configuration can be found in libraries/vpncore/swiftgen.yml.

Obscure XCode errors

If you get obscure XCode errors like an error from swiftlint without a place where it comes from, switch to vpncore-ios or vpncore-macos scheme and build it. Most probably lint error is in the Core project.

License

The code and data files 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) 2021 Proton Technologies AG

ios-mac-protonvpn's People

Contributors

igorkulman avatar jaroslavas avatar pawel-jurczyk avatar protonjohn avatar flexjdev avatar rob-patchett avatar proton-ci avatar siejkowski avatar jsoref avatar victor avatar roanutil avatar dhoko avatar zhj4478 avatar gricsi avatar magohamote avatar robert-patchett avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.