react-native-macos 0.73.7 → 0.73.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/jni/third-party/fmt/CMakeLists.txt +1 -1
- package/ReactCommon/React-Fabric.podspec +1 -1
- package/ReactCommon/React-FabricImage.podspec +1 -1
- package/ReactCommon/ReactCommon.podspec +1 -1
- package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/React-hermes.podspec +1 -1
- package/ReactCommon/jsi/React-jsi.podspec +1 -1
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
- package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
- package/ReactCommon/react/renderer/debug/React-rendererdebug.podspec +1 -1
- package/gradle/libs.versions.toml +1 -1
- package/package.json +1 -1
- package/scripts/cocoapods/helpers.rb +5 -0
- package/scripts/cocoapods/utils.rb +8 -0
- package/scripts/react_native_pods.rb +7 -3
- package/third-party-podspecs/RCT-Folly.podspec +1 -1
- package/third-party-podspecs/SocketRocket.podspec +30 -0
- package/third-party-podspecs/fmt.podspec +25 -0
package/React/Base/RCTVersion.m
CHANGED
|
@@ -51,7 +51,7 @@ Pod::Spec.new do |s|
|
|
|
51
51
|
s.dependency "React-logger"
|
|
52
52
|
s.dependency "glog"
|
|
53
53
|
s.dependency "DoubleConversion"
|
|
54
|
-
s.dependency
|
|
54
|
+
s.dependency "fmt", "9.1.0"
|
|
55
55
|
s.dependency "React-Core"
|
|
56
56
|
s.dependency "React-debug"
|
|
57
57
|
s.dependency "React-utils"
|
|
@@ -72,7 +72,7 @@ Pod::Spec.new do |s|
|
|
|
72
72
|
s.dependency "React-logger"
|
|
73
73
|
s.dependency "glog"
|
|
74
74
|
s.dependency "DoubleConversion"
|
|
75
|
-
s.dependency
|
|
75
|
+
s.dependency "fmt", "9.1.0"
|
|
76
76
|
s.dependency "React-ImageManager"
|
|
77
77
|
s.dependency "React-utils"
|
|
78
78
|
s.dependency "Yoga"
|
|
@@ -50,7 +50,7 @@ Pod::Spec.new do |s|
|
|
|
50
50
|
ss.dependency "RCT-Folly", folly_version
|
|
51
51
|
s.dependency "React-logger", version
|
|
52
52
|
ss.dependency "DoubleConversion"
|
|
53
|
-
ss.dependency
|
|
53
|
+
ss.dependency "fmt", "9.1.0"
|
|
54
54
|
ss.dependency "glog"
|
|
55
55
|
if using_hermes
|
|
56
56
|
ss.dependency "hermes-engine"
|
|
@@ -41,7 +41,7 @@ Pod::Spec.new do |s|
|
|
|
41
41
|
|
|
42
42
|
s.dependency "boost", "1.83.0"
|
|
43
43
|
s.dependency "DoubleConversion"
|
|
44
|
-
s.dependency
|
|
44
|
+
s.dependency "fmt", "9.1.0"
|
|
45
45
|
s.dependency "RCT-Folly", folly_version
|
|
46
46
|
s.dependency "glog"
|
|
47
47
|
s.dependency "React-jsinspector", version
|
|
@@ -47,7 +47,7 @@ Pod::Spec.new do |s|
|
|
|
47
47
|
s.dependency "React-perflogger", version
|
|
48
48
|
s.dependency "RCT-Folly", folly_version
|
|
49
49
|
s.dependency "DoubleConversion"
|
|
50
|
-
s.dependency
|
|
50
|
+
s.dependency "fmt", "9.1.0"
|
|
51
51
|
s.dependency "glog"
|
|
52
52
|
s.dependency "RCT-Folly/Futures", folly_version
|
|
53
53
|
s.dependency "hermes-engine"
|
|
@@ -40,7 +40,7 @@ Pod::Spec.new do |s|
|
|
|
40
40
|
s.dependency "React-perflogger", version
|
|
41
41
|
s.dependency "RCT-Folly", folly_version
|
|
42
42
|
s.dependency "DoubleConversion"
|
|
43
|
-
s.dependency
|
|
43
|
+
s.dependency "fmt", "9.1.0"
|
|
44
44
|
s.dependency "glog"
|
|
45
45
|
|
|
46
46
|
if ENV['USE_HERMES'] == nil || ENV['USE_HERMES'] == "1"
|
package/package.json
CHANGED
|
@@ -340,10 +340,18 @@ class ReactNativePodsUtils
|
|
|
340
340
|
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] :
|
|
341
341
|
Helpers::Constants.min_ios_version_supported
|
|
342
342
|
config.build_settings["IPHONEOS_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_ios_version_supported.to_f, old_iphone_deploy_target.to_f].max.to_s
|
|
343
|
+
# [macOS
|
|
343
344
|
old_macos_deploy_target = config.build_settings["MACOSX_DEPLOYMENT_TARGET"] ?
|
|
344
345
|
config.build_settings["MACOSX_DEPLOYMENT_TARGET"] :
|
|
345
346
|
Helpers::Constants.min_macos_version_supported
|
|
346
347
|
config.build_settings["MACOSX_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_macos_version_supported.to_f, old_macos_deploy_target.to_f].max.to_s
|
|
348
|
+
# macOS]
|
|
349
|
+
# [visionOS
|
|
350
|
+
old_visionos_deploy_target = config.build_settings["XROS_DEPLOYMENT_TARGET"] ?
|
|
351
|
+
config.build_settings["XROS_DEPLOYMENT_TARGET"] :
|
|
352
|
+
Helpers::Constants.min_visionos_version_supported
|
|
353
|
+
config.build_settings["XROS_DEPLOYMENT_TARGET"] = [Helpers::Constants.min_visionos_version_supported.to_f, old_visionos_deploy_target.to_f].max.to_s
|
|
354
|
+
# visionOS]
|
|
347
355
|
end
|
|
348
356
|
end
|
|
349
357
|
end
|
|
@@ -47,15 +47,17 @@ def min_macos_version_supported
|
|
|
47
47
|
end
|
|
48
48
|
# macOS]
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
# [visionOS
|
|
51
|
+
def min_visionos_version_supported
|
|
52
|
+
return Helpers::Constants.min_visionos_version_supported
|
|
52
53
|
end
|
|
54
|
+
# visionOS]
|
|
53
55
|
|
|
54
56
|
# This function returns the min supported OS versions supported by React Native
|
|
55
57
|
# By using this function, you won't have to manually change your Podfile
|
|
56
58
|
# when we change the minimum version supported by the framework.
|
|
57
59
|
def min_supported_versions
|
|
58
|
-
return { :ios => min_ios_version_supported, :osx =>
|
|
60
|
+
return { :ios => min_ios_version_supported, :osx => min_macos_version_supported, :visionos => min_visionos_version_supported } # [macOS] [visionOS]
|
|
59
61
|
end
|
|
60
62
|
|
|
61
63
|
# This function prepares the project for React Native, before processing
|
|
@@ -165,7 +167,9 @@ def use_react_native! (
|
|
|
165
167
|
pod 'DoubleConversion', :podspec => "#{prefix}/third-party-podspecs/DoubleConversion.podspec"
|
|
166
168
|
pod 'glog', :podspec => "#{prefix}/third-party-podspecs/glog.podspec"
|
|
167
169
|
pod 'boost', :podspec => "#{prefix}/third-party-podspecs/boost.podspec"
|
|
170
|
+
pod 'fmt', :podspec => "#{prefix}/third-party-podspecs/fmt.podspec"
|
|
168
171
|
pod 'RCT-Folly', :podspec => "#{prefix}/third-party-podspecs/RCT-Folly.podspec", :modular_headers => true
|
|
172
|
+
pod 'SocketRocket', :podspec => "#{prefix}/third-party-podspecs/SocketRocket.podspec", :modular_headers => true # [visionOS]
|
|
169
173
|
|
|
170
174
|
run_codegen!(
|
|
171
175
|
app_path,
|
|
@@ -20,7 +20,7 @@ Pod::Spec.new do |spec|
|
|
|
20
20
|
spec.dependency 'boost'
|
|
21
21
|
spec.dependency 'DoubleConversion'
|
|
22
22
|
spec.dependency 'glog'
|
|
23
|
-
spec.dependency
|
|
23
|
+
spec.dependency "fmt", "9.1.0"
|
|
24
24
|
spec.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_CFG_NO_COROUTINES=1 -DFOLLY_HAVE_PTHREAD=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -faligned-new'
|
|
25
25
|
spec.source_files = 'folly/String.cpp',
|
|
26
26
|
'folly/Conv.cpp',
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
#
|
|
3
|
+
# This source code is licensed under the MIT license found in the
|
|
4
|
+
# LICENSE file in the root directory of this source tree.
|
|
5
|
+
|
|
6
|
+
# [visionOS] Local copy of SocketRocket.podspec with visionOS added as a platform
|
|
7
|
+
|
|
8
|
+
socket_rocket_version = '0.7.0'
|
|
9
|
+
|
|
10
|
+
Pod::Spec.new do |s|
|
|
11
|
+
s.name = 'SocketRocket'
|
|
12
|
+
s.version = socket_rocket_version
|
|
13
|
+
s.summary = 'A conforming WebSocket (RFC 6455) client library for iOS, macOS and tvOS.'
|
|
14
|
+
s.homepage = 'https://github.com/facebook/SocketRocket'
|
|
15
|
+
s.authors = { 'Nikita Lutsenko' => 'nlutsenko@me.com', 'Dan Federman' => 'federman@squareup.com', 'Mike Lewis' => 'mikelikespie@gmail.com' }
|
|
16
|
+
s.license = 'BSD'
|
|
17
|
+
s.source = { :git => 'https://github.com/facebook/SocketRocket.git', :tag => socket_rocket_version }
|
|
18
|
+
s.requires_arc = true
|
|
19
|
+
|
|
20
|
+
s.source_files = 'SocketRocket/**/*.{h,m}'
|
|
21
|
+
s.public_header_files = 'SocketRocket/*.h'
|
|
22
|
+
|
|
23
|
+
s.platforms = min_supported_versions
|
|
24
|
+
|
|
25
|
+
s.ios.frameworks = 'CFNetwork', 'Security'
|
|
26
|
+
s.osx.frameworks = 'CoreServices', 'Security'
|
|
27
|
+
s.tvos.frameworks = 'CFNetwork', 'Security'
|
|
28
|
+
s.visionos.frameworks = 'CFNetwork', 'Security'
|
|
29
|
+
s.libraries = 'icucore'
|
|
30
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
#
|
|
3
|
+
# This source code is licensed under the MIT license found in the
|
|
4
|
+
# LICENSE file in the root directory of this source tree.
|
|
5
|
+
|
|
6
|
+
Pod::Spec.new do |spec|
|
|
7
|
+
spec.name = "fmt"
|
|
8
|
+
spec.version = "9.1.0"
|
|
9
|
+
spec.license = { :type => "MIT" }
|
|
10
|
+
spec.homepage = "https://github.com/fmtlib/fmt"
|
|
11
|
+
spec.summary = "{fmt} is an open-source formatting library for C++. It can be used as a safe and fast alternative to (s)printf and iostreams."
|
|
12
|
+
spec.authors = "The fmt contributors"
|
|
13
|
+
spec.source = {
|
|
14
|
+
:git => "https://github.com/fmtlib/fmt.git",
|
|
15
|
+
:tag => "9.1.0"
|
|
16
|
+
}
|
|
17
|
+
spec.pod_target_xcconfig = {
|
|
18
|
+
"CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
|
|
19
|
+
}
|
|
20
|
+
spec.platforms = min_supported_versions
|
|
21
|
+
spec.libraries = "c++"
|
|
22
|
+
spec.public_header_files = "include/fmt/*.h"
|
|
23
|
+
spec.header_mappings_dir = "include"
|
|
24
|
+
spec.source_files = ["include/fmt/*.h", "src/format.cc"]
|
|
25
|
+
end
|