macOS: Fix Objective-C namespaceing with Xcode 10
Xcode 10 ships version 921.0.1 of cctools, which otool is part of. The defaults have changed in that version to no longer print verbosely (symbolically), which we relied on. We now request it explicitly. Change-Id: Ifbe0c97462b9f78cf128c820847eff9c72f17065 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Tim Blechmann <tim@klingt.org>
This commit is contained in:
parent
521a85395d
commit
1314d2688c
@ -146,7 +146,7 @@ inspect_binary() {
|
||||
echo "found namespaced class names, updating class entries..."
|
||||
fi
|
||||
|
||||
classes=$(otool -o "$target" | grep class_ro_t)
|
||||
classes=$(otool -o -v "$target" | grep class_ro_t)
|
||||
while read -a class; do
|
||||
address="$(sanitize_address ${class[1]})"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user