Commit 0984e18
committed
Fix RN AsyncStorage Xcode 27 compatibility
Discovered after #1994
React Native fails to handle podspec resource bundle targets
https://github.com/react/react-native/blob/27e83d0a959a2e7ef9af8b0379f0ef763b2cd4d9/packages/react-native/scripts/cocoapods/utils.rb#L362-L372
so pods like https://github.com/react-native-datetimepicker/datetimepicker/blob/81b90986646a3b43515b523367aea435730b04fe/RNDateTimePicker.podspec#L13
are handled correctly compiling fine
but ones with resource_bundles like https://github.com/react-native-async-storage/async-storage/blob/main/packages/async-storage/AsyncStorage.podspec
breaking Xcode compilation
minimally patch @react-native-async-storage/async-storage podspec s.platforms ios to 15.1 (official RN min_ios_version_supported)
Resolve: #20041 parent d1b5e9c commit 0984e18
4 files changed
Lines changed: 28 additions & 3 deletions
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2227 | 2227 | | |
2228 | 2228 | | |
2229 | 2229 | | |
2230 | | - | |
| 2230 | + | |
2231 | 2231 | | |
2232 | 2232 | | |
2233 | 2233 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2803 | 2803 | | |
2804 | 2804 | | |
2805 | 2805 | | |
| 2806 | + | |
| 2807 | + | |
| 2808 | + | |
| 2809 | + | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
| 2813 | + | |
| 2814 | + | |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
2806 | 2818 | | |
2807 | 2819 | | |
2808 | 2820 | | |
| |||
17167 | 17179 | | |
17168 | 17180 | | |
17169 | 17181 | | |
17170 | | - | |
| 17182 | + | |
17171 | 17183 | | |
17172 | 17184 | | |
17173 | 17185 | | |
| |||
0 commit comments