/Lockdown-iOS

Updated version of Lockdown-iOS app

Primary LanguageSwiftGNU General Public License v3.0GPL-3.0

Lockdown Privacy (iOS)

Lockdown is an open source firewall that blocks trackers, ads, and badware in all apps. Product details at lockdownprivacy.com.

Feature Requests + Bugs

Create an issue on Github for feature requests and bug reports.

Openly Operated

Lockdown achieves the highest level of transparency for both client and server via the Openly Operated standard. It has also been audited multiple times, the latest audit in July 2020. See the full reports here: Audit Kits

Contributing

Pull requests are welcome - please document any changes and potential bugs.

Build Instructions

  1. pod install***

  2. carthage update --no-use-binaries --platform iOS or for XCode 12 ./wcarthage update --no-use-binaries --platform iOS (workaround for this Carthage issue)

  3. Open LockdowniOS.xcworkspace via XCode

  4. 'NEKit' is in the wrong location: On the left side-panel, click on 'NEKit' (should be marked red). Then on the right side-panel, change the location to: Lockdown-iOS/Carthage/Checkouts/NEKit/NEKit.xcodeproj

To sign the app for devices, you will need an Apple Developer account.


Note (1): When running pod install if you receive a error relating to cocoapods-acknowledgements, try the following:

  1. Install rbenv
brew install rbenv
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
source ~/.zshrc
  1. Install & set ruby version == 2.7.3
rbenv install 2.7.3

# Make sure you are in the correct directory!!
cd Lockdown-iOS/

rbenv local 2.7.3 
  1. Restart terminal & verify ruby version
# This should output 2.7.3
ruby -v
  1. Install cocoapods and cocoapods-acknowledgements; not with sudo or homebrew.
gem install cocoapods cocoapods-acknowledgements
  1. Restart terminal & try installing again:
pod install

Note (2): When running the carthage command, and you recieve a Task failed with exit code 65 (or a different error), try using the carthage.sh script I've included.

  1. Run script
sh carthage.sh update --no-use-binaries --platform iOS

Limitations to Building Locally

If you build Lockdown locally, you will not be able to access Secure Tunnel, because that requires a Production app store receipt. We will soon enable a DEV environment for Secure Tunnel with limited capacity and regions, designed only for testing.

To use Secure Tunnel, you must download Lockdown from the App Store.

Contact

team@lockdownprivacy.com

License

This project is licensed under the GPL License - see the LICENSE.md file for details.