Reset package caches whenever modules are not found.
- 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.
brew install needle
- Install git hook(s) to prevent commits of unintended files and poor line spacing.
- Xcode > Settings... > Text Editing > Editing > check While Editing checkboxes.
- 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.
- 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.
- After the first project build when App/Sources/NeedleGenerated.swift is generated.
- Add
import CrisisCleanup
at the top of the file.
- Add
- Cocoapods setup may be necessary. If so install with Ruby/
gem
(through ruby version manager) notbrew
.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.
- 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...