Skip to content

Commit 554183e

Browse files
committed
fix: use common only on Fabric
1 parent 72b1459 commit 554183e

File tree

2 files changed

+29
-6
lines changed

2 files changed

+29
-6
lines changed

FabricExample/ios/Podfile.lock

+23-1
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,28 @@ PODS:
12831283
- ReactCommon/turbomodule/core
12841284
- Yoga
12851285
- react-native-keyboard-controller (1.16.8):
1286+
- DoubleConversion
1287+
- glog
1288+
- hermes-engine
1289+
- RCT-Folly (= 2024.11.18.00)
1290+
- RCTRequired
1291+
- RCTTypeSafety
1292+
- React-Core
1293+
- React-debug
1294+
- React-Fabric
1295+
- React-featureflags
1296+
- React-graphics
1297+
- React-ImageManager
1298+
- react-native-keyboard-controller/common (= 1.16.7)
1299+
- React-NativeModulesApple
1300+
- React-RCTFabric
1301+
- React-rendererdebug
1302+
- React-utils
1303+
- ReactCodegen
1304+
- ReactCommon/turbomodule/bridging
1305+
- ReactCommon/turbomodule/core
1306+
- Yoga
1307+
- react-native-keyboard-controller/common (1.16.7):
12861308
- DoubleConversion
12871309
- glog
12881310
- hermes-engine
@@ -2164,7 +2186,7 @@ SPEC CHECKSUMS:
21642186
React-Mapbuffer: 0502faf46cab8fb89cfc7bf3e6c6109b6ef9b5de
21652187
React-microtasksnativemodule: 663bc64e3a96c5fc91081923ae7481adc1359a78
21662188
react-native-blur: b37343d4df1af48a17444156b674b26d5aec2425
2167-
react-native-keyboard-controller: b9280bc833465038d4805dbd4ca66660f7f0dcd3
2189+
react-native-keyboard-controller: 2a0104cd1fd6cd85d335385c8113a9d601a31847
21682190
react-native-safe-area-context: 9c33120e9eac7741a5364cc2d9f74665049b76b3
21692191
React-NativeModulesApple: 16fbd5b040ff6c492dacc361d49e63cba7a6a7a1
21702192
React-perflogger: ab51b7592532a0ea45bf6eed7e6cae14a368b678

react-native-keyboard-controller.podspec

+6-5
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,11 @@ Pod::Spec.new do |s|
5858
s.dependency "ReactCommon/turbomodule/core"
5959
end
6060
end
61-
62-
s.subspec "common" do |ss|
63-
ss.source_files = ["common/**/*.{cpp,h}"]
64-
ss.header_dir = "reactnativekeyboardcontroller"
65-
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/common\"" }
61+
if new_arch_enabled
62+
s.subspec "common" do |ss|
63+
ss.source_files = ["common/cpp/**/*.{cpp,h}"]
64+
ss.header_dir = "reactnativekeyboardcontroller"
65+
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/common/cpp\"" }
66+
end
6667
end
6768
end

0 commit comments

Comments
 (0)