cocoapods-rn-toolkit 0.0.11 → 0.0.12

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: 95138111efdbb11484f7e3a8651d5cfbc02f92c777f4d2711b4d757a9f3711ae
4
- data.tar.gz: ec2ebe8b5537cdaace1161c6c8104369f510c7e9364a51195ed70bf93084d387
3
+ metadata.gz: 0d89d69ead6c507dcc7bdc1d4db02545e85f563c108d0e47d719a871082957d5
4
+ data.tar.gz: 3e42dde2ec6f468f27ff8b567453c76fae6164bc1d4e265a30d45ba2f7c4b3b5
5
5
  SHA512:
6
- metadata.gz: 9f0a40e257726eb8faf059f69a00e7f32b04e454233e084d9168dddaec506a30f973e07ed17e1dfea4aea1bb05377bdc92961277ad79fe907373b7b09c5a75cd
7
- data.tar.gz: b4a8dc8906e87f2b940fc9f24e692d51d087ee2534a6526ec72cd2e634e021e759f7db09606f7e2b3486a4dd2d53b517e2b24a8c61715b8ebfd355cbddf6dc39
6
+ metadata.gz: 851aadfd12025cf9547c243a556d92f8cce943f1bf03d01981a3e5e43654c5fa803fc78f296b6189df95792e15dea4dfcdc727f22bbb04cbe475dd9b1cc4c0d7
7
+ data.tar.gz: eb7ac1270dcc34236aebed67389bd42d7513df5c80ee9bca5ce11302a6c48c5990683b7bcae988f293a6f99aee31fcf84107481a08baa55a6b6d33caa088dd20
@@ -1,3 +1,3 @@
1
1
  module CocoapodsRnToolkit
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -3,14 +3,14 @@ module CocoapodsRnToolkit
3
3
  def self.apply(context)
4
4
  context.pods_project.targets.each do |target|
5
5
  target.build_configurations.each do |config|
6
- update_prefix_header(config)
6
+ update_prefix_header(context, config)
7
7
  end
8
8
  end
9
9
  end
10
10
 
11
11
  private
12
12
 
13
- def self.update_prefix_header(config)
13
+ def self.update_prefix_header(context, config)
14
14
  prefix_path = config.build_settings['GCC_PREFIX_HEADER']
15
15
  return unless prefix_path
16
16
 
@@ -20,6 +20,8 @@ module CocoapodsRnToolkit
20
20
  content = File.read(full_prefix_path)
21
21
  return if content.include?(macro)
22
22
 
23
+ puts "[cocoapods-rn-toolkit] 更新前缀头文件: #{full_prefix_path}"
24
+
23
25
  content = content + "\n" + macro
24
26
  File.open(full_prefix_path, 'w') { |file| file.write(content) }
25
27
  end
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.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nx