lib/cocoapods-packager/symbols.rb in ty-cocoapods-packager-1.5.6 vs lib/cocoapods-packager/symbols.rb in ty-cocoapods-packager-1.5.7
- old
+ new
@@ -1,7 +1,7 @@
module Symbols
def symbols_from_library(library)
- syms = `nm -gU #{library}`.split("\n")
+ syms = `nm -defined-only -extern-only #{library}`.split("\n")
result = classes_from_symbols(syms)
result += constants_from_symbols(syms)
result += variables_from_symbols(syms)
result.reject { |e| e == 'llvm.cmdline' || e == 'llvm.embedded.module' }