1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Update pod script path

This commit is contained in:
sunnylqm 2021-11-11 18:08:49 +08:00
parent 7fc0d717d5
commit fddae3d79a

View File

@ -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'