Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.43 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.43 KB

Crisis Cleanup

Setup

Reset package caches whenever modules are not found.

  1. Select App in project hierarcy.
    • In the Identity and Type pane > Project Document > Project Format=Xcode 12.0-compatible
    • Pod install from the project root dir.
  2. brew install needle
  3. Install git hook(s) to prevent commits of unintended files and poor line spacing.
    • Xcode > Settings... > Text Editing > Editing > check While Editing checkboxes.
  4. Copy/update expected files into App/CrisisCleanup/Config. This requires at least one Firebase project.
    • Set the correct values in App/Config/DebugConfig to accomodate local app development.
  5. Configure scheme for local development.
    • Duplicate the App scheme and change the Run > Info > Build Configuration = Debug.
    • The app installed on the simulator/devices should have an black background for the app icon.
  6. After the first project build when App/Sources/NeedleGenerated.swift is generated.
    • Add import CrisisCleanup at the top of the file.
  7. Cocoapods setup may be necessary. If so install with Ruby/gem (through ruby version manager) not brew.
    • gem -v is 3.2.x or 3.3.x (or higher)
    • pod --version is ~1.11.x (or higher)
    • Versions aren't exact. Compare to other developers for certainty.

Building and archiving

  • Be sure to build from a completely clean state or run the build command twice on the scheme/configuration as Xcode uses cached files unexpectedly...