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.
🦉 It's just an insurance app for iOS
Install Xcode
get it from the Mac App Store
Install tuist by following this guide
https://docs.tuist.io/guides/quick-start/install-tuist
Run post-checkout
scripts/post-checkout.sh
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
Before release making sure you Cancel
or release any pending releases on App Store Connect.
Go to Actions
-> CreateRelease
Click Run workflow
Wait for the build to complete and get processed by App Store Connect
Go to Actions
-> IncreaseVersionNumber
Enter desired App Store version number
Click Run workflow
machine maven.pkg.github.com
login
password
login
is your github login
password
is token generated at github
This issue is related to the Xcode caching
xcodebuild: error: Could not resolve package dependencies: failed downloading 'https://maven.pkg.github.com/HedvigInsurance/authlib/com/hedvig/authlib/authlib-kmmbridge/1.3.21-alpha-20240313135116/authlib-kmmbridge-1.3.21-alpha-20240313135116.zip' which is required by binary target 'authlib': badResponseStatusCode(401)
rm -rf ~/Library/Caches/org.swift.swiftpm
rm -rf ~/Library/org.swift.swiftpm
and deleting everything inside
/Users/youruser/Library/Developer/Xcode/DerivedData/