AsilHQ / Asil-ios

Asil iOS Browser
https://www.asil.co
Mozilla Public License 2.0
0 stars 0 forks source link

Kahf Browser for iOS 🦁

Download on the App Store.

This branch (test)

This branch is for mainline development that will ship in the next release.

This branch currently supports iOS 15+, and is written in Swift 5.

Please make sure you aim your pull requests in the right direction.

Building the code

  1. Install the latest Xcode developer tools from Apple. (Xcode 14.0 and up required).
  2. Install Xcode Command Line Tools
    xcode-select --install
  3. Make sure npm is installed, node version 12 is recommended
  4. Install SwiftLint (0.50.0 or higher):
    brew update
    brew install swiftlint
  5. Clone the repository:
    git clone https://github.com/Asil/Asil-ios.git
  6. Pull in the project dependencies:
    cd Asil-ios
    sh ./bootstrap.sh
  7. Add a symlink to npm (M1 Macs)
    sudo ln -s $(which npm) /usr/local/bin/npm
    sudo ln -s $(which node) /usr/local/bin/node
  8. Open App/Client.xcodeproj in Xcode.
  9. Build the Debug scheme in Xcode.

Updating Rewards

Contributor guidelines

Creating a pull request

Swift style

Whitespace

Commits

In most cases Pull Request commits will remain intact with a merge commit on the targeted branch.

Code Signing

  1. After running the bootstrap.sh script in the setup instructions navigate to:
    App/Configuration/Local/DevTeam.xcconfig
  2. Add your Apple Team ID in this file:
    LOCAL_DEVELOPMENT_TEAM = KL8N8XSYF4

Team IDs look identical to provisioning profile UUIDs, so make sure this is the correct one.

The entire Local directory is included in the .gitignore, so these changes are not tracked by source control. This allows code signing without making tracked changes. Updating this file will only sign the Debug target for local builds.

Finding Team IDs

The easiest known way to find your team ID is to log into your Apple Developer account. After logging in, the team ID is currently shown at the end of the URL:
https://developer.apple.com/account/<TEAM ID>

Use this string literal in the above, DevTeam.xcconfig file to code sign

Attribution

This repository is a fork of Firefox iOS Browser