tbd v1.2
tbd v1.2 has now been released.
New Features:
- Option
--list-architectures
can now be provided any valid mach-o file and list its architectures stdin
(standard input) can now be provided as a path (Ex:tbd -p stdin
)- Add option
--replace-path-extension
to replace path-extension of mach-o file with .tbd (Ex:foo.dylib -> foo.tbd
instead offoo.dylib -> foo.dylib.tbd
) - Add option
--only-dynamic-libraries
to option--list-macho-libraries
to print only dynamic libraries - Add new field
parent-umbrella:
- Add new field
sub-clients:
(allowed-clients:
in tbd v1) - Re-add field
objc-constraint:
with full support - tbd now only indicates success in recursion when it has outputted at least one tbd file
- Allow overriding some tbd fields, as well as removing them with the following options:
--flags
, Specify flags to add onto ones found in provided mach-o file(s)--ignore-missing-exports
, Ignore if no symbols or reexpors to output are found in provided mach-o file(s)--ignore-missing-uuids
, Ignore if uuids are not found in provided mach-o file(s)--ignore-non-unique-uuids
, Ignore if uuids found in provided mach-o file(s) not unique--objc-constraint
, Specify objc-constraint to use instead of one(s) found in provided mach-o file(s)--remove-current-version
, Remove current-version field from outputted tbds--remove-compatibility-version
, Remove compatibility-version field from outputted tbds--remove-exports
, Remove exports field from outputted tbds--remove-flags
, Remove flags field from outputted tbds--remove-objc-constraint
, Remove objc-constraint field from outputted tbds--remove-parent-umbrella
, Remove parent-umbrella field from outputted tbds--remove-swift-version
, Remove swift-version field from outputted tbds--remove-uuids
, Remove uuids field from outputted tbds
- Add
--list-objc-constraints
to list all valid objc-constraints for the tbd-field option--objc-constraint
- Add
--list-tbd-flags
to list all valid tbd-flags for the tbd-field option--flags
Bug Fixes:
- Fix handling of mach-o file when it had no load-commands
- Fix bug where tbd files were created for a mach-o file with an empty installation name (of 0 length or containing only spaces)
- Fix bug where tbd would not find objc (and swift) information if contained inside the
__OBJC
segment - Fix bug where unused created directories would not be removed
- Fix multiple bugs inside tbd's segment-handling code
Miscellaneous Changes:
- tbd now prints errors at the end of string outside parenthesis
- tbd now "cleans" paths, removing multiple slashes, changing backward slashes to forward, and removing
.
path-components