diff --git a/Example/testHotUpdate/ios/Podfile.lock b/Example/testHotUpdate/ios/Podfile.lock index 990b642..8da8ad1 100644 --- a/Example/testHotUpdate/ios/Podfile.lock +++ b/Example/testHotUpdate/ios/Podfile.lock @@ -182,15 +182,15 @@ PODS: - React-cxxreact (= 0.61.4) - React-jsi (= 0.61.4) - React-jsinspector (0.61.4) - - react-native-update (5.5.0): + - react-native-update (5.5.8): - React - - react-native-update/BSDiff (= 5.5.0) - - react-native-update/RCTPushy (= 5.5.0) + - react-native-update/BSDiff (= 5.5.8) + - react-native-update/RCTPushy (= 5.5.8) - SSZipArchive - - react-native-update/BSDiff (5.5.0): + - react-native-update/BSDiff (5.5.8): - React - SSZipArchive - - react-native-update/RCTPushy (5.5.0): + - react-native-update/RCTPushy (5.5.8): - React - SSZipArchive - React-RCTActionSheet (0.61.4): @@ -337,7 +337,7 @@ SPEC CHECKSUMS: React-jsi: ca921f4041505f9d5197139b2d09eeb020bb12e8 React-jsiexecutor: 8dfb73b987afa9324e4009bdce62a18ce23d983c React-jsinspector: d15478d0a8ada19864aa4d1cc1c697b41b3fa92f - react-native-update: 0696134a23c2ad1be899c12b33f9d3521284d458 + react-native-update: 491cb5902a18f1ebeeb903f1a619df94662fc52a React-RCTActionSheet: 7369b7c85f99b6299491333affd9f01f5a130c22 React-RCTAnimation: d07be15b2bd1d06d89417eb0343f98ffd2b099a7 React-RCTBlob: 8e0b23d95c9baa98f6b0e127e07666aaafd96c34 @@ -353,4 +353,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 244ba888c650d3945bf72a8d01516fb0f1b3b097 -COCOAPODS: 1.8.4 +COCOAPODS: 1.9.1 diff --git a/react-native-update.podspec b/react-native-update.podspec index a88dd8d..593e524 100644 --- a/react-native-update.podspec +++ b/react-native-update.podspec @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.vendored_libraries = 'RCTPushy/libRCTPushy.a' s.pod_target_xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '"$(SRCROOT)/../node_modules/react-native-update/ios"' } s.resource = 'ios/pushy_build_time.txt' - s.script_phase = { :name => 'Generate build time', :script => '"$(SRCROOT)/../node_modules/react-native-update/scripts/generateiOSBuildTime.sh"', :execution_position => :before_compile } + s.script_phase = { :name => 'Generate build time', :script => 'set -x;date +%s > ${PODS_ROOT}/../../node_modules/react-native-update/ios/pushy_build_time.txt', :execution_position => :before_compile } s.dependency 'React' s.dependency 'SSZipArchive' diff --git a/scripts/generateiOSBuildTime.sh b/scripts/generateiOSBuildTime.sh deleted file mode 100755 index 4914aed..0000000 --- a/scripts/generateiOSBuildTime.sh +++ /dev/null @@ -1,5 +0,0 @@ - -#!/bin/bash -set -x -DEST="../../node_modules/react-native-update/ios" -date +%s > "$DEST/pushy_build_time.txt" \ No newline at end of file