podfileDep 1.1.1 → 1.1.3

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: 11e24ff9b767c792185f1c0dc1b373f79dc017fdcc1d6d13b8a445bebca1f128
4
- data.tar.gz: 3af243ba521ba0097bd7a9bfd1ddc01c26af23ec33ed21165945b4dff16b241d
3
+ metadata.gz: f7d5a0259d484c24d84171ba5ee9b51c7faa24335af4c16f204fe33aa7f3d96f
4
+ data.tar.gz: 5c3b7edeb4fa8725f0a17227c54f76bd6c25841d03898f465a3917ba8629c8e9
5
5
  SHA512:
6
- metadata.gz: d2385d0ad73e460988244cf2f2c18b11e78cef9ab81c14e89cd1d15e077773583198236772fb1f23caf5708bcc022235bfe0ded4f0c10586aff832a887b0b58c
7
- data.tar.gz: c812cb1e3f9e6c725504f9f323d8e6c32f732706c38e9f22f3188a962b561193b4e2fd705a83758b4565a57084323b751677969a5466ae0c5d206b95220d466c
6
+ metadata.gz: dd7a0836542b53fdbd68797bbb34a24339267a90c82bb631ecaad31d90d070472b93596a0da2ab3400d137c73b70e1ee03d2839d24a7515dcd677522894095b2
7
+ data.tar.gz: ef4d3b1fab36b8d876295f30f04b95504e4f7067a6a5e860e76466974f8992d30e95e7469e8df39fa861731ff9a1da6feac0114b4b934837449921cc6df283da
data/CHANGELOG.md CHANGED
@@ -11,3 +11,11 @@
11
11
  ## [1.1.1] - 2023-02-16
12
12
 
13
13
  - 对FBRetainCycleDetector组件编译报错的处理
14
+
15
+ ## [1.1.2] - 2023-03-02
16
+
17
+ - 对FBRetainCycleDetector库中fishhook崩溃问题的处理
18
+
19
+ ## [1.1.3] - 2023-03-08
20
+
21
+ - 对FBRetainCycleDetector库中引用关系分析崩溃问题的处理
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PodfileDep
4
- VERSION = "1.1.1"
4
+ VERSION = "1.1.3"
5
5
  end
data/lib/podfileDep.rb CHANGED
@@ -804,6 +804,19 @@ end
804
804
  module SpecialDeal
805
805
  def SpecialDeal.FBRetainCycleDetector()
806
806
  PathUtil.replaceStr("Pods/FBRetainCycleDetector/FBRetainCycleDetector/Layout/Classes/FBClassStrongLayout.mm", "layoutCache[currentClass] = ivars;", "layoutCache[(id<NSCopying>)currentClass] = ivars;")
807
+ PathUtil.replaceStr("Pods/FBRetainCycleDetector/fishhook/fishhook.c", "indirect_symbol_bindings[i] = cur->rebindings[j].replacement;", "if(i < (sizeof(indirect_symbol_bindings) /sizeof(indirect_symbol_bindings[0]))) {indirect_symbol_bindings[i]=cur->rebindings[j].replacement;}")
808
+
809
+ newStr = "#import <objc/runtime.h>
810
+ #import <malloc/malloc.h>"
811
+ PathUtil.replaceStr("/Users/wangshuaipeng/BSCode/CreateFrameworkJob/TempCode/SourceCode/FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.mm", "#import <objc/runtime.h>", newStr)
812
+
813
+ newStr = "malloc_zone_t *zone = malloc_zone_from_ptr((__bridge void *)object); if (zone) { Class aCls=object_getClass(object);"
814
+ PathUtil.replaceStr("/Users/wangshuaipeng/BSCode/CreateFrameworkJob/TempCode/SourceCode/FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.mm", "Class aCls = object_getClass(object);", newStr)
815
+
816
+ newStr = "}
817
+ # endif"
818
+ PathUtil.replaceStr("/Users/wangshuaipeng/BSCode/CreateFrameworkJob/TempCode/SourceCode/FBRetainCycleDetector/Graph/FBObjectiveCGraphElement.mm", "#endif", newStr)
819
+
807
820
  end
808
821
  end
809
822
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: podfileDep
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - WANGSHUAIPENG
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-16 00:00:00.000000000 Z
11
+ date: 2023-03-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: iOS 端Podfile文件托管
14
14
  email: