We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b68c85 + 85022bd commit 5a2e431Copy full SHA for 5a2e431
lib/cocoapods_mangle/defines.rb
@@ -38,10 +38,13 @@ def self.constants(binaries)
38
all_symbols = run_nm(binaries, '-gU')
39
consts = all_symbols.select { |const| const[/ S /] }
40
consts = consts.reject { |const| const[/_OBJC_/] }
41
+ consts = consts.reject { |const| const[/__block_descriptor.*/] }
42
consts = consts.map! { |const| const.gsub(/^.* _/, '') }
43
consts = consts.uniq
44
45
other_consts = all_symbols.select { |const| const[/ T /] }
46
+ other_consts = other_consts.reject { |const| const[/__copy_helper_block.*/] }
47
+ other_consts = other_consts.reject { |const| const[/__destroy_helper_block.*/] }
48
other_consts = other_consts.map! { |const| const.gsub(/^.* _/, '') }
49
other_consts = other_consts.uniq
50
0 commit comments