Skip to content

Commit 07b426b

Browse files
committed
Remove Additional Swift Symbols
- Ensure that we don't mangle Swift symbols matching the pattern `get_witness_table ` - Bumped version to `1.1.2`
1 parent 465d44f commit 07b426b

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
cocoapods-mangle (1.1.1)
4+
cocoapods-mangle (1.1.2)
55
cocoapods (~> 1.11.3)
66

77
GEM
@@ -15,7 +15,7 @@ GEM
1515
minitest (>= 5.1)
1616
tzinfo (~> 2.0)
1717
zeitwerk (~> 2.3)
18-
addressable (2.8.2)
18+
addressable (2.8.4)
1919
public_suffix (>= 2.0.2, < 6.0)
2020
algoliasearch (1.27.5)
2121
httpclient (~> 2.8, >= 2.8.3)

cocoapods-mangle.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
77
spec.license = 'Apache-2.0'
88
spec.email = ['james@intercom.io']
99
spec.homepage = 'https://github.com/intercom/cocoapods-mangle'
10-
spec.authors = ['James Treanor']
10+
spec.authors = ['James Treanor, Brian Boyle']
1111
spec.summary = 'A CocoaPods plugin which mangles ' \
1212
'the symbols of your dependencies'
1313
spec.description = 'Mangling your dependencies symbols allows more than ' \

lib/cocoapods_mangle/defines.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ def self.swift_symbol?(symbol)
154154
symbol[/_\w+_swiftoverride_/] ||
155155
# _Zxxxswift symbols should be skipped
156156
# e.g. _ZN5swift34swift50override_conformsToProtocolEPKNS
157-
symbol[/_Z\w+swift/]
157+
symbol[/_Z\w+swift/] ||
158+
# get_witness_table symbols should be skipped
159+
# e.g. get_witness_table Say6.2
160+
symbol[/get_witness_table /]
158161
end
159162

160163
def self.run_nm(binaries, flags)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module CocoapodsMangle
22
NAME = 'cocoapods-mangle'
3-
VERSION = '1.1.1'
3+
VERSION = '1.1.2'
44
end

0 commit comments

Comments
 (0)