Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

subconsciousnetwork/subconscious

Repository files navigation

Subconscious

Setup

Install Xcode, clone the repo and open the project.

Config

Common application config is set in xcode/Subconscious/Shared/Config.swift, set debug to true for local development.

There are also a few configurations in a .env file. You can use .env.example as a guide for how to build yours.

Running on Device

  • Enable Developer Mode on the target device
    • Settings -> Security & Privacy -> Developer Mode
  • Connect device
    • Wait for Xcode to detect it
  • Run build (fails)
    • Change the build target to your device
    • It should warn you that you're missing a provisioning profile
  • Add Developer Account
    • Sign in with your Apple ID (you can create a new one just for this)
  • Change App Identifier
    • The com.subconscious.Subconscious identifier is covered by the team provisioning profile so you'll need to make your own, i.e. com.my-username.Subconscious
  • Automatically Create Provisioning Profile
    • After changing the identifier XCode should configure provisioning for you
  • Build & Run again
  • Trust App
    • On device visit Settings -> General -> VPN & Device Managment to trust the app