Skip to content

Commit 74025d5

Browse files
authored
fix(macos): declare support for 0.75 (#2199)
1 parent 4dec836 commit 74025d5

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Pods/
1919
android/**/build/
2020
clang-format-diff.py
2121
coverage/
22+
example/*/DerivedData/
2223
example/*/build/
2324
example/Screenshot-*.png
2425
local.properties

ios/test_app.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,19 +327,25 @@ def make_project!(xcodeproj, project_root, target_platform, options)
327327

328328
config = app_project.build_configurations[0]
329329

330-
# TODO: Deployment target is bumped in 4.0. We should remove this block then.
330+
# TODO: Deployment targets are bumped in 4.0. We should remove these blocks then.
331331
ios_deployment_target =
332332
if rn_version >= v(0, 76, 0)
333333
'15.1'
334334
else
335335
config.resolve_build_setting(IPHONEOS_DEPLOYMENT_TARGET)
336336
end
337+
macos_deployment_target =
338+
if rn_version >= v(0, 75, 0)
339+
'11.0'
340+
else
341+
config.resolve_build_setting(MACOSX_DEPLOYMENT_TARGET)
342+
end
337343

338344
{
339345
:xcodeproj_path => xcodeproj_dst,
340346
:platforms => {
341347
:ios => ios_deployment_target,
342-
:macos => config.resolve_build_setting(MACOSX_DEPLOYMENT_TARGET),
348+
:macos => macos_deployment_target,
343349
:visionos => config.resolve_build_setting(XROS_DEPLOYMENT_TARGET),
344350
},
345351
:react_native_version => rn_version,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"@expo/config-plugins": ">=5.0",
102102
"react": "17.0.1 - 19.0",
103103
"react-native": "0.66 - 0.75 || >=0.76.0-0 <0.76.0",
104-
"react-native-macos": "^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.74",
104+
"react-native-macos": "^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75",
105105
"react-native-windows": "^0.0.0-0 || 0.66 - 0.75"
106106
},
107107
"peerDependenciesMeta": {

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12486,7 +12486,7 @@ __metadata:
1248612486
"@expo/config-plugins": ">=5.0"
1248712487
react: 17.0.1 - 19.0
1248812488
react-native: 0.66 - 0.75 || >=0.76.0-0 <0.76.0
12489-
react-native-macos: ^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.74
12489+
react-native-macos: ^0.0.0-0 || 0.66 || 0.68 || 0.71 - 0.75
1249012490
react-native-windows: ^0.0.0-0 || 0.66 - 0.75
1249112491
peerDependenciesMeta:
1249212492
"@callstack/react-native-visionos":

0 commit comments

Comments
 (0)