Bare: building in Xcode - how to specify release channels?

I have an app of which I want to create two versions of:

  1. for production users
  2. for test users (primarily on testflight)

I still want to use OTA updates for both though. At the moment I can publish to both channels - default and test.

I have tried to use turtle-cli + fastlane to build but the published apps crash instantly. The only way I’ve been able to successfully build IPAs is through Xcode.

My question: When building with Xcode, is it possible to specify the release channel?

Please note that publishing before hand doesn’t make a difference, it always goes to default channel.

1 Like

@expoadmin.mbsicorp ?

Latest SDK38 : https://docs.expo.io/distribution/release-channels/#using-release-channels-in-the-bare-workflow

Before and including SDK37, you can change releaseChannel in EXShell.plist, here is mine :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>areRemoteUpdatesEnabled</key>
<true/>
<key>isManifestVerificationBypassed</key>
<true/>
<key>isShell</key>
<true/>
<key>manifestUrl</key>
<string>exp://exp.host/@xxx/xxx-app</string>
<key>releaseChannel</key>
<string>staging</string>
</dict>
</plist>
1 Like