Comments (5)
Here's the diff patch
after running npm version
, you can see ios/InternetUC/Info.plist
was not updated, am I doing anything wrong?
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 8c9d419..42cffce 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -90,8 +90,8 @@ android {
applicationId "com.internetuc"
minSdkVersion 16
targetSdkVersion 22
- versionCode 6
- versionName "1.1.2"
+ versionCode 7
+ versionName "1.1.3"
ndk {
abiFilters "armeabi-v7a", "x86"
}
diff --git a/ios/InternetUC-tvOS/Info.plist b/ios/InternetUC-tvOS/Info.plist
index 2fb6a11..a78dfde 100644
--- a/ios/InternetUC-tvOS/Info.plist
+++ b/ios/InternetUC-tvOS/Info.plist
@@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>1.1.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1</string>
+ <string>6</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
diff --git a/ios/InternetUC-tvOSTests/Info.plist b/ios/InternetUC-tvOSTests/Info.plist
index 886825c..9b15f53 100644
--- a/ios/InternetUC-tvOSTests/Info.plist
+++ b/ios/InternetUC-tvOSTests/Info.plist
@@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>1.1.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1</string>
+ <string>6</string>
</dict>
</plist>
diff --git a/ios/InternetUC.xcodeproj/project.pbxproj b/ios/InternetUC.xcodeproj/project.pbxproj
index bdc02c5..4e4318b 100644
--- a/ios/InternetUC.xcodeproj/project.pbxproj
+++ b/ios/InternetUC.xcodeproj/project.pbxproj
@@ -1186,7 +1186,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CURRENT_PROJECT_VERSION = 5;
+ CURRENT_PROJECT_VERSION = 6;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = L388Z72LTH;
HEADER_SEARCH_PATHS = (
@@ -1210,7 +1210,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CURRENT_PROJECT_VERSION = 5;
+ CURRENT_PROJECT_VERSION = 6;
DEVELOPMENT_TEAM = L388Z72LTH;
HEADER_SEARCH_PATHS = (
"$(inherited)",
diff --git a/ios/InternetUCTests/Info.plist b/ios/InternetUCTests/Info.plist
index 886825c..9b15f53 100644
--- a/ios/InternetUCTests/Info.plist
+++ b/ios/InternetUCTests/Info.plist
@@ -15,10 +15,10 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
- <string>1.0</string>
+ <string>1.1.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1</string>
+ <string>6</string>
</dict>
</plist>
from react-native-version.
I've just tried on a brand new RN project and also updated the tests and RN version being tested to accommodate for tvOS, but it seems to be working without altering the source of RNV.
Could you post some version details? node & npm/yarn, Xcode, RN...
from react-native-version.
Sure.
$ node --version; npm --version; yarn --version; react-native --version; /usr/bin/xcodebuild -version
v8.0.0
5.0.1
0.24.6
react-native-cli: 2.0.1
react-native: 0.44.2
Xcode 8.3.2
Build version 8E2002
I'm working on this open sourced repo btw, I've set build number to 5 (the current), add "postversion": "react-native-version --never-amend"
and run npm version 1.1.3
.
What is more intriguing to me is that it has effectively changed some of the plist but not all of them.
from react-native-version.
So I ran agvtool
(which handles the iOS versioning part for RNV) by itself on your repo to see what would happen:
internetuc-react-native $ cd ios/
ios $ agvtool new-marketing-version 1.1.3
Setting CFBundleShortVersionString of project InternetUC to:
1.1.3.
Updating CFBundleShortVersionString in Info.plist(s)...
$(SRCROOT)/InternetUC/Info.plist
Cannot find "$(SRCROOT)/InternetUC/Info.plist"
Updated CFBundleShortVersionString in "InternetUC.xcodeproj/../InternetUC-tvOS/Info.plist" to 1.1.3
Updated CFBundleShortVersionString in "InternetUC.xcodeproj/../InternetUC-tvOSTests/Info.plist" to 1.1.3
Updated CFBundleShortVersionString in "InternetUC.xcodeproj/../InternetUCTests/Info.plist" to 1.1.3
And it looks like your Xcode project is misconfigured at these two lines:
- https://github.com/wachunei/internetuc-react-native/blob/develop/ios/InternetUC.xcodeproj/project.pbxproj#L1196
- https://github.com/wachunei/internetuc-react-native/blob/develop/ios/InternetUC.xcodeproj/project.pbxproj#L1219
Removing $(SRCROOT)/
here solves the issue:
Do you have the absolute path there for a specific reason?
from react-native-version.
Thank you for taking some of your time to check this.
Actually I don't really know why it was set like that, but I know it was done after renaming whole project
I will now try to upgrade packages and bump version, then I'll close this issue later.
Thank you again!
from react-native-version.
Related Issues (20)
- increse buildNumber on hot reload HOT 1
- Just to verify: there is NO option to NOT let the tool commit into git? HOT 2
- increase with widget targers version
- Command failed with exit code 127
- Support for multiple info plist files?
- npm version [major/minor/patch] is not updating all the files
- I don't want to increase verssion on all Project HOT 2
- fatal: No names found, cannot describe anything. HOT 1
- SUPPORT
- Support iOS Extensions target HOT 2
- Cannot increase only build number
- Change version for a specific IOS target
- Rely on an argument for expo and react-native projects
- versionName and CFBundleShortVersionString dont output the expected inputs
- Fails when xCode has more targets (multiple Info.plis)
- What's an alternative to this package? HOT 2
- Need monorepo support
- How can I also customize updating files to add for example updating OneSignal version and build Id ?
- Add --skip-expo option to skip Expo versioning even if detected HOT 1
- SyntaxError: Expected "\"", "\\'", "\\\"", "\\n", or [^\\"] but "\\" found. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-version.