Hedvig is a new approach to insurance currently available in Sweden, Norway and Denmark, we belive in transparency hence we code in the open and publish all our source code here on Github, feel free to take a peek, if you are interested in working with us check out our jobs page.
ugglan
🦉 It's just an insurance app for iOS
Run the app
-
Install Xcode
get it from the Mac App Store
-
Install tuist
bash <(curl -Ls https://install.tuist.io)
-
Run post-checkout
scripts/post-checkout.sh
-
Install swift-format
scripts/install-swift-format.sh
-
Run tuist generate
tuist generate
-
Open workspace
open Ugglan.xcworkspace
Provision new devices
- Add device UDID to devices.txt
fastlane ios provision
- Trigger new build for latest commit on
main
by clickingre-run
in Github Actions
Formatting
We use swift-format for formatting, it's ran on all staged files automatically in a pre-commit hook.
-
Install githooks
sh
scripts/githooks.sh
-
Install swift-format
sh
scripts/install-swift-format.sh
How to release
Before release making sure you Cancel
or release any pending releases on App Store Connect.
-
Go to
Actions
->ProductionDeploy
-
Click
Run workflow
-
Enter desired App Store version number
-
Click
Run workflow
-
Wait for the build to complete and get processed by App Store Connect