mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 08:51:40 +08:00
改进ios生成build time
This commit is contained in:
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
|
||||
s.libraries = 'bz2', 'z'
|
||||
s.vendored_libraries = 'RCTHotUpdate/libRCTHotUpdate.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 => '../../node_modules/react-native-update/scripts/generateiOSBuildTime.sh', :execution_position => :before_compile }
|
||||
|
||||
s.dependency 'React'
|
||||
|
Reference in New Issue
Block a user