cocoapods-dongjia 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f18bc9b7c748f76da031b3c7399e77fa0cc7d0de5f9ce4ee35081e82cdf4fa0a
4
- data.tar.gz: 0535a37844a08856aa30e77820d5ab8ee15364997521aee38b6d71ec1ef86052
3
+ metadata.gz: 43abbc7eeff4ae649d1d4581e3ba108bd4caad1c232c13e8f7b0a4ebe4e32cbf
4
+ data.tar.gz: 7f09d83e057197460ac3fb6990a6ebacbbc589ff8f9cd45735501bab620f3cd4
5
5
  SHA512:
6
- metadata.gz: f4ad0844ad88e3c0f1e911c54f924e4f0117d63ada80009a769ed77688ec14435932b5653f05157274a826d14c6c3866fd3ead7e493b825e4f3cd186727c4d54
7
- data.tar.gz: a89af33980896a67d37f4517a9f12e3d6d93386e11cb25b4ad1f0d081e6f8eee428285eefe92d5dcb6ee627cad68f584ae9bcc0b50f3905ffdd5fa18b0d182e0
6
+ metadata.gz: e4fbc1904a6438e2cb5e1886da95e95398e35eab4031e047771ce2132c48d8a185513710d4eabe38f81670eda1aca63298d7ac72dd29c8413e143152bae35e1f
7
+ data.tar.gz: 6832e07fde081a35ae4b1e8018e519339e312415f86570ade288fb3dd027467c780482e69ba2dbb70bb3b50db388efc597df6d7db6b741d06a54aaa66782ce56
@@ -1,4 +1,8 @@
1
1
  module CocoapodsDongjia
2
- VERSION = "1.0.4"
3
- UPDATE_DESC = " - 远程仓库支持 :branch / :tag / :commit 直接指定"
2
+ VERSION = "1.0.5"
3
+ UPDATE_DESC = <<-EOS
4
+ - 修复警告关闭逻辑
5
+ - 禁用 pod 工程的 bitcode
6
+ - 修复引用错误
7
+ EOS
4
8
  end
@@ -5,13 +5,13 @@ module Dongjia
5
5
  class DongjiaWarningManager
6
6
 
7
7
  def self.turn_off_warnings(turn_off, sandbox_root)
8
-
8
+
9
9
  return if (turn_off != true)
10
10
 
11
11
  Dir.foreach(sandbox_root).select{|f| f.end_with?('xcodeproj')}.each do |name|
12
12
 
13
13
  proj = Xcodeproj::Project.open(File.join(sandbox_root, name))
14
-
14
+
15
15
  if name != 'Pods.xcodeproj'
16
16
  proj.build_configurations.each do | config |
17
17
  # 强制设置 deployment 版本为 8.0
@@ -25,7 +25,7 @@ module Dongjia
25
25
  proj.targets.each do | target |
26
26
 
27
27
  next if target.name.start_with?('Pods')
28
-
28
+
29
29
  target.build_configurations.each do | config |
30
30
 
31
31
  # 禁用非 DJ 开头 Pod 的警告
@@ -50,6 +50,9 @@ module Dongjia
50
50
  if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 8.0
51
51
  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = "8.0"
52
52
  end
53
+
54
+ # 关闭 bitcode
55
+ config.build_settings['ENABLE_BITCODE'] = "NO"
53
56
  end
54
57
 
55
58
  end
@@ -62,4 +65,4 @@ module Dongjia
62
65
 
63
66
  end
64
67
 
65
- end
68
+ end
@@ -1,5 +1,4 @@
1
1
  require_relative 'pod'
2
- require 'pry'
3
2
 
4
3
  module Pod
5
4
 
@@ -19,7 +19,7 @@ module Pod
19
19
 
20
20
  origin_perform_post_install_actions = instance_method(:perform_post_install_actions)
21
21
  define_method :perform_post_install_actions do
22
- origin_perform_post_install_actions.bind(self)
22
+ origin_perform_post_install_actions.bind(self).()
23
23
  Dongjia::DongjiaVersionChecker.check_version
24
24
  end
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-dongjia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - jiangzhuoyi
@@ -76,7 +76,10 @@ homepage: https://github.com/EXAMPLE/cocoapods-dongjia
76
76
  licenses:
77
77
  - MIT
78
78
  metadata:
79
- update_desc: " - 远程仓库支持 :branch / :tag / :commit 直接指定"
79
+ update_desc: |2
80
+ - 修复警告关闭逻辑
81
+ - 禁用 pod 工程的 bitcode
82
+ - 修复引用错误
80
83
  post_install_message:
81
84
  rdoc_options: []
82
85
  require_paths: