fix(mobile): compile slider for x86_64 Catalyst release builds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
joshuafhigginsandClaude Opus 5.5 committed 2026-11-16 21:56:41 -05:00 Verified
1 parent b940d6a67d
commit aebe5e7007
3 files changed
+21 -3

No files matched your search

+2 -1
View File
@@ -25,7 +25,8 @@
"react-native-screens@4.30.0": "patches/react-native-screens@4.30.0.patch",
"react-native-reanimated@4.7.1": "patches/react-native-reanimated@4.7.1.patch",
"expo-modules-core@58.0.24": "patches/expo-modules-core@58.0.24.patch",
"expo-file-system@58.0.10": "patches/expo-file-system@58.0.10.patch"
"expo-file-system@58.0.10": "patches/expo-file-system@58.0.10.patch",
"@react-native-community/slider@5.2.1": "patches/@react-native-community__slider@5.2.1.patch"
}
}
}
@@ -0,0 +1,14 @@
diff --git a/ios/RNCSliderComponentView.mm b/ios/RNCSliderComponentView.mm
index aa9eb66a486a53762490ed720c5dd2f3a618a166..feb786dce183fff6ee326aa949ee90820cf80c96 100644
--- a/ios/RNCSliderComponentView.mm
+++ b/ios/RNCSliderComponentView.mm
@@ -24,7 +24,8 @@ using namespace facebook::react;
{
RNCSlider *slider;
UIImage *_image;
- BOOL _isSliding;
+ // Match the protocol's C++ bool; BOOL is signed char on x86_64 Catalyst.
+ bool _isSliding;
}
+ (ComponentDescriptorProvider)componentDescriptorProvider
+5 -2
View File
@@ -5,6 +5,9 @@ settings:
excludeLinksFromLockfile: false
patchedDependencies:
'@react-native-community/slider@5.2.1':
hash: 73deacaea9aae000a42050d343517da9e16e736e92a4fff3f61f81dba093a1c4
path: patches/@react-native-community__slider@5.2.1.patch
expo-audio@58.0.10:
hash: f7f102c0f17b28e763d828acd4f138d62809f5be576e316a13008c27e84968c5
path: patches/expo-audio@58.0.10.patch
@@ -57,7 +60,7 @@ importers:
version: 2.2.0(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7))(@types/react@19.3.0)(react@19.3.0))
'@react-native-community/slider':
specifier: 5.2.1
version: 5.2.1
version: 5.2.1(patch_hash=73deacaea9aae000a42050d343517da9e16e736e92a4fff3f61f81dba093a1c4)
'@react-native/metro-config':
specifier: 0.88.0
version: 0.88.0(@babel/core@7.29.7)
@@ -9232,7 +9235,7 @@ snapshots:
merge-options: 3.0.4
react-native: 0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7))(@types/react@19.3.0)(react@19.3.0)
'@react-native-community/slider@5.2.1': {}
'@react-native-community/slider@5.2.1(patch_hash=73deacaea9aae000a42050d343517da9e16e736e92a4fff3f61f81dba093a1c4)': {}
'@react-native-masked-view/masked-view@0.3.2(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)':
dependencies: