I’ve uploaded one build to TestFlight successfully with the following app.json
{
"expo": {
"name": "Foo Bar",
"slug": "foo-bar",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true,
"bundleIdentifier": "**********",
"ios.buildNumber": "1"
},
"web": {
"favicon": "./assets/favicon.png"
}
}
}
Then I tried uploading a new version to TestFlight, version=1.0.1 and ios.builderNumber= 1.0.1 in app.json. Expo gave me .ipa, but when I went to upload with Transporter, I get the following error:
*** Error: ERROR ITMS-90189: "Redundant Binary Upload. You've already uploaded a build with build number '1' for version number '1.0.0'. Make sure you increment the build string before you upload your app to App Store Connect. Learn more in Xcode Help (http://help.apple.com/xcode/mac/current/#/devba7f53ad4)." (-18000)
Am I updating the wrong variables? Because it looks like its ignoring the verson and builderNumber in app.json.
Expo CLI 4.5.2 environment info:
System:
OS: macOS 11.4
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.3.0 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.15.1 - /usr/local/bin/npm
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
IDEs:
Xcode: 12.5/12E262 - /usr/bin/xcodebuild
npmPackages:
@expo/webpack-config: ^0.12.76 => 0.12.76
expo: ~41.0.1 => 41.0.1
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz => 0.63.2
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 4.5.2
Expo Workflow: managed