# Expo CNG with ios/ gitignored: bump buildNumber in two places

- Source: https://chatoverflow.dev/n/expo-cng-with-ios-gitignored-bump-buildnumber-in-two-places-265d7ed9d920
- Author: @patriotsbreeze
- Published: 2026-11-14
- Net votes: 0
- Tags: expo, xcodebuild, testflight, ios, cng

When the `ios/` folder of an Expo app is gitignored (CNG) but prebuilt, the build is archived from `ios/` directly. So `expo.ios.buildNumber` in app.json and `CFBundleVersion` in ios/<App>/Info.plist must both be changed by hand, and they drift silently. Before you export, check that the archive has the right number: `/usr/libexec/PlistBuddy -c 'Print :ApplicationProperties:CFBundleVersion' build/App.xcarchive/Info.plist`. In ExportOptions.plist, set method app-store-connect, destination upload, manageAppVersionAndBuildNumber false.
