cryptomator / ios

Cryptomator for iOS
https://cryptomator.org
GNU General Public License v3.0
219 stars 28 forks source link

Cryptomator for iOS

Build Codacy Badge Twitter Crowdin Community

Cryptomator offers multi-platform transparent client-side encryption of your files in the cloud.

Download on the App Store: https://apps.apple.com/app/cryptomator-2/id1560822163

Building

Create Secrets

If you are building with Xcode, create a .cloud-access-secrets.sh file in the fastlane/scripts directory. Its contents should look something like this:

#!/bin/sh
export BOX_CLIENT_ID=...
export BOX_CLIENT_SECRET=...
export DROPBOX_APP_KEY=...
export GOOGLE_DRIVE_CLIENT_ID=...
export GOOGLE_DRIVE_REDIRECT_URL_SCHEME=...
export ONEDRIVE_CLIENT_ID=...
export ONEDRIVE_REDIRECT_URI_SCHEME=...
export PCLOUD_APP_KEY=...

And then run ./scripts/create-cloud-access-secrets.sh from the fastlane directory once. Of course, if you change the secrets, you have to run that script again.

If you are building via a CI system, set these secret environment variables accordingly.

Contributing

Please read our contribution guide, if you would like to report a bug, ask a question or help us with coding.

This project uses SwiftFormat and SwiftLint to enforce code style and conventions. Install these tools if you haven't already.

Please make sure that your code is correctly formatted and passes linter validations. The easiest way to do that is to set up a pre-commit hook. Create a file at .git/hooks/pre-commit with this content:

./Scripts/process.sh --staged
exit $?

And make your pre-commit hook executable:

chmod +x .git/hooks/pre-commit

Code of Conduct

Help us keep Cryptomator open and inclusive. Please read and follow our Code of Conduct.

License

Distributed under the GPLv3. See the LICENSE file for more info.