Setup - Contractor-x/bitchat GitHub Wiki

Official Recommendations for Setting Up BitChat

Option 1: Using XcodeGen (Recommended)

  1. Install XcodeGen if you haven't already:
    brew install xcodegen
    
  2. Generate the Xcode project:
    cd bitchat
    xcodegen generate
    
  3. Open the generated project:
    open bitchat.xcodeproj
    

Option 2: Using Swift Package Manager

  1. Open the project in Xcode:
    cd bitchat
    open Package.swift
    
  2. Select your target device and run.

Option 3: Manual Xcode Project Setup

  1. Open Xcode and create a new iOS or macOS App project.
  2. Copy all Swift files from the bitchat directory into your new project.
  3. Update your Info.plist with Bluetooth permissions.
  4. Set the deployment target to iOS 16.0 or macOS 13.0.