Skip to content
mplorentz edited this page Jan 28, 2022 · 41 revisions

If you are a Planetary employee who wants to know how to release Planetary's iOS app you have come to the right place.

First Time Setup

  • Check out planetary-ios and follow the Developer Installation instructions in the README.md.
  • Check out planetary-social/planetary-config-ios repository.
  • Get added to the Verse Communications Apple Developer team with Manager permissions or higher.
  • Ask an existing team members for the secrets stored in cocoapods-keys
    • For each secret key run pod keys set {key} {value}

Build & Upload

 cp ../planetary-config-ios/Shared.release.xcconfig Source/Controller/Configs/
  • Select 'Any iOS Device' as the build destination and run Product → Archive
  • From the Xcode Archives window, choose your archive and click "Distribute App"
  • Follow the prompts, selecting the following values:
- method of distribution: App Store Connect
- destination: Upload
- Include bitcode for iOS content: unchecked
- Upload you app's symbols: checked
- Manage Version and Build Number: checked
- Re-sign "Planetary": Automatically manage signing
  • At the end of the the wizard, click "Upload"
  • Run git reset --hard HEAD in your local Git repo to remove the secrets from Shared.release.xcconfig. Warning: this will erase any other uncommitted changes in your repository.

Deploy to TestFlight

  • Wait for the build to finish processing in the TestFlight dashboard.
  • Click on the build in the TestFlight Dashboard and fill out the Test Details box.
  • Distribute the TestFlight build to the appropriate groups and conduct UAT if necessary.

Submit for review

  • Fill out the App Store page
  • Select "Manually release this version" in the Version Release Section unless you have already completed testing and want the build to go out automatically.
  • Click "Submit for Review".
  • Perform final QA testing.

After QA & App Store Review Approval

  • Update CHANGELOG.md in the Github repository.
  • Create a new page in the Release Notes section in Zendesk.
  • Tag the deployed commit with the semantic version number i.e. "1.0.7".
  • Create a Github Release, copying in the tag name and changelog entries.
  • Click "Release this Version" in App Store Connect
  • Merge the release branch into master
  • (Optional) Post release notes from the Planetary accont on SSB and other social media.
  • Update this wiki page with any procedural changes.

Clone this wiki locally