Skip to content

Commit 9bcd890

Browse files
committed
Change the target platforms to iOS 11.0 and tvOS 11.0 to match RN (#15)
React Native's podspec currently targets iOS 11.0 and up. Additionally, the current version of Xcode warns because this Boost podspec targets 8.0, which Xcode no longer supports. This commit changes the target version to 11.0, since 9 and 10 are unsupported by React Native anyway. This commit also adds a changelog and changes the podspec version to 1.63.0-1. React Native pins its version of the boost-for-react-native dependency and the readme says this library's sole purpose is for React Native. It is technically a breaking change to constrain the target platform and an earlier version of this PR bumped the CocoaPod version to 2.0.0, but decided not to take that path given the scope of this change and the fact that this library is not intended to be used outside of React Native. Additionally, 1.63.0-1 precedes 1.63.0 according to semver, so any projects depending on `~> '1.63.0'` won't pick up this version. But to reiterate, this library's sole purpose is to be used by React Native, and the readme now explicitly says this library does not follow semver.
1 parent 1f1c459 commit 9bcd890

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Changelog
2+
3+
4+
# Unreleased
5+
6+
## Breaking changes
7+
8+
## New features
9+
10+
## Bug fixes
11+
12+
13+
# 1.63.0-1
14+
15+
## Breaking changes
16+
17+
Changed the target platform versions to iOS 11.0 and tvOS 11.0, matching the versions currently targeted by React Native.
18+
19+
20+
# 1.63.0-0
21+
22+
## New features
23+
24+
Upgraded to Boost v1.63.0

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ This is a copy of [Boost](http://www.boost.org/) that is used to build React Nat
44

55
You probably don't want to directly use this repository. Its sole purpose is to distribute the Boost code for building React Native.
66

7+
This library does not necessarily follow semver. It follows Boost's versioning plus a number in the prerelease identifier position. React Native declares the exact version of this library it depends on instead of using semver ranges.
8+
79
## Upgrading Boost
810

911
First, download a new version of Boost, e.g.: http://www.boost.org/users/history/version_1_63_0.html

boost-for-react-native.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'boost-for-react-native'
3-
spec.version = '1.63.0'
3+
spec.version = '1.63.0-1'
44
spec.license = { :type => 'Boost Software License', :file => "LICENSE_1_0.txt" }
55
spec.homepage = 'http://www.boost.org'
66
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
77
spec.authors = 'Rene Rivera'
88
spec.source = { :git => 'https://github.com/react-native-community/boost-for-react-native.git',
9-
:tag => 'v1.63.0-0' }
9+
:tag => 'v1.63.0-1' }
1010

1111
# Pinning to the same version as React.podspec.
12-
spec.platforms = { :ios => '10.0', :tvos => '10.0' }
12+
spec.platforms = { :ios => '11.0', :tvos => '11.0' }
1313
spec.requires_arc = false
1414

1515
spec.module_name = 'boost'

0 commit comments

Comments
 (0)