diff --git a/react-native-update.podspec b/react-native-update.podspec index be09ca5..8febf8b 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 => 'set -x;date +%s > ${PODS_ROOT}/../../node_modules/react-native-update/ios/pushy_build_time.txt', :execution_position => :before_compile } + s.script_phase = { :name => 'Generate build time', :script => 'set -x;date +%s > $(SRCROOT)/../node_modules/react-native-update/ios/pushy_build_time.txt', :execution_position => :before_compile } s.dependency 'React' s.dependency 'SSZipArchive'