cocoapods-rn-toolkit 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2ca85c40bb8b152ffac086032b5d9b4438a790b5a71d7755e74ee1406db1027
4
- data.tar.gz: 7cdaea44f959dddfdef627cc063b5ea660898c23547b2a6eb1f1cda6280a3c69
3
+ metadata.gz: ab35b805680b15e23d509130b8ba4691c8381aee27d04ed47b57cd5f983735ed
4
+ data.tar.gz: 2fd02f41430435691bbf17c2bbc1e53a2d4e6c56d2c9aa06d3388e6f9bacdfd8
5
5
  SHA512:
6
- metadata.gz: 7bfde6c973a692a2000a5173a6d9cde7f28273ab06892a58833cf4e8c5912320a35a1d3dd4d05441ee6501a4170df9f1e105a2249fd618a63634370098887248
7
- data.tar.gz: ace773463c5ef16e5758f29aaced6b440cb9bce82f83d4ba0363cc486538189a61dd50d42cb8717bde52f5b8e8eacd0c0e02c7d7aa96f84c9ab2024a2c98db99
6
+ metadata.gz: 40ada2b75c0e340f650fcd8a28f6e151b848fe53b0291906b1bb28b14bb01b18bbdcb25d1cddf59fccd7adc84abc7278e708e220dc315da195c4915602bed17a
7
+ data.tar.gz: 7cfe764c403445db18c87e0fdea8514945ddce3478dffa1b762209db4903bcfab4fdb0cf60c321cbd64a5b4025d319a787b4754d35e3a490b4a0993dd364244e
@@ -1,3 +1,3 @@
1
1
  module CocoapodsRnToolkit
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -1,15 +1,15 @@
1
1
  module CocoapodsRnToolkit
2
2
  module IOS17UIGraphics
3
3
  def self.apply(installer)
4
- installer.pods_project.targets.each do |target|
5
- update_prefix_header(target)
4
+ installer.pod_targets.each do |pod_target|
5
+ update_prefix_header(pod_target)
6
6
  end
7
7
  end
8
8
 
9
9
  private
10
10
 
11
- def self.update_prefix_header(target)
12
- prefix_path = target.prefix_header_path
11
+ def self.update_prefix_header(pod_target)
12
+ prefix_path = pod_target.prefix_header_path
13
13
  return unless File.exist?(prefix_path)
14
14
 
15
15
  content = File.read(prefix_path)
@@ -4,7 +4,7 @@ require 'cocoapods-rn-toolkit/library_search_paths'
4
4
  require 'cocoapods-rn-toolkit/common_build_settings'
5
5
 
6
6
  module CocoapodsRnToolkit
7
- Pod::HooksManager.register('cocoapods-rn-toolkit', :post_install) do |installer|
7
+ Pod::HooksManager.register('cocoapods-rn-toolkit', :post_install_all) do |installer|
8
8
  puts "[cocoapods-rn-toolkit] 开始应用 React Native 修复..."
9
9
 
10
10
  puts "[cocoapods-rn-toolkit] 应用通用构建设置..."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-rn-toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nx