react-native-update 10.56.0 → 10.56.1

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/harmony/pushy.har CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update",
3
- "version": "10.56.0",
3
+ "version": "10.56.1",
4
4
  "description": "react-native hot update",
5
5
  "main": "src/index",
6
6
  "types": "src/index.ts",
@@ -95,8 +95,11 @@ Pod::Spec.new do |s|
95
95
  # relative to the including file (the cpp/ core via ../../cpp/...), and the
96
96
  # former absolute "#{podspec_dir}/ios" entry made the generated xcconfig
97
97
  # machine-specific.
98
+ # DEFINES_MODULE writes the umbrella under Headers/Public/react_native_update/
99
+ # (underscores). CocoaPods copies public headers to react-native-update/
100
+ # (hyphens). Include the latter so the umbrella can #import "ImportReact.h".
98
101
  s.pod_target_xcconfig = {
99
- 'USER_HEADER_SEARCH_PATHS' => "\"$(PODS_ROOT)/Headers/Public/SSZipArchive\" \"$(PODS_ROOT)/Headers/Public/React-Codegen/RCTPushySpec\"",
102
+ 'USER_HEADER_SEARCH_PATHS' => "\"$(PODS_ROOT)/Headers/Public/react-native-update\" \"$(PODS_ROOT)/Headers/Public/SSZipArchive\" \"$(PODS_ROOT)/Headers/Public/React-Codegen/RCTPushySpec\"",
100
103
  "DEFINES_MODULE" => "YES"
101
104
  }
102
105
  # buildTime for binary-rebuild detection (SyncBinaryVersion) and the check
@@ -137,6 +140,10 @@ Pod::Spec.new do |s|
137
140
 
138
141
  # Conditionally add Expo dependency
139
142
  if valid_expo_project
143
+ # DEFINES_MODULE lists public headers in the umbrella. Marking
144
+ # ImportReact.h public without source_files leaves it out of
145
+ # Headers/Public, so compiling the Swift module fails.
146
+ s.source_files = 'ios/ImportReact.h'
140
147
  s.public_header_files = ['ios/ImportReact.h']
141
148
  s.dependency 'ExpoModulesCore'
142
149
  end