An iOS app integrating Sentry to demo its various product features. See Empower: How to Contribute for more information.
- Install Xcode
- In a terminal, run:
make initsentry-cli login(seesentry-clidocs for more info) and use an org-level auth token from thedemoorg [or whatever org you applied to the.envfile in the next step]
- Open EmpowerPlant.xcodeproj. Open the
.envfile and provide valid values forSENTRY_ORGandSENTRY_PROJECT.
- Update the default DSN, located in
AppDelegate.swift, to your new DSN
Open EmpowerPlant.xcodeproj in Xcode and click the "Play" button or press ⌘R
- Ensure the Info.plist has the version you want to release on the
masterbranch (the release job can actually currently run off of any branch that's been pushed to GitHub but this is not recommended; perhaps in the future this can be disallowed by some option in the workflow YAML) - Go to the iOS demo repo's Actions area
- Go to the Release action
- Click "Run workflow" dropdown box on the right [

- Enter the version number you want it to build and deploy and click "Run workflow" [

This runs the workflow defined in release.yml. It uses the secrets configured in the repo for SENTRY_AUTH_TOKEN, SENTRY_ORG, SENTRY_PROJECT for sentry-cli auth/upload, and the automatic ephemeral GITHUB_TOKEN for gh auth.
See https://github.com/sentry-demos/ios/releases/tag/0.0.1 for a sample release
Note: TDA must be restarted for it to pick up new version
The command that runs this in TDA can be found here: https://github.com/sentry-demos/empower/blob/a77428aec6cb8e6563caf3d9671419461946db2e/tda/conftest.py#L480-L514