Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Wrong build number #35349

Closed
novaladip opened this issue Nov 15, 2022 · 1 comment
Closed

[iOS] Wrong build number #35349

novaladip opened this issue Nov 15, 2022 · 1 comment

Comments

@novaladip
Copy link

Description

Hi, first of all sorry for my bad English, I'm facing a problem when I try to build (Archive) from Xcode, after the build is finish my build number show wrong version, under the Xcode General tab I set to 35, but doesn't use the correct number.

Please see the attachment below

  • my version in General Tab

Screenshot 2022-11-15 at 18 03 52

- on organizer window before uploading to App Store it's show 1.6.5 (1) instead of 1.6.5 (35)

Screenshot 2022-11-15 at 18 04 29

Version

0.70.4

Output of npx react-native info

System:
OS: macOS 13.0
CPU: (8) arm64 Apple M1
Memory: 71.16 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.17.1/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK:
API Levels: 31, 32, 33
Build Tools: 30.0.2, 30.0.3, 31.0.0, 33.0.0
Android NDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9014738
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
Languages:
Java: 11.0.13 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.4 => 0.70.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

open project in Xcode -> Product -> Archive

Snack, code example, screenshot, or link to a repository

@novaladip
Copy link
Author

solved by manually changing CFBundleVersion value in info.plist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants