def change_install_name(old_name, new_name, _options = {})
      old_lc = dylib_load_commands.find { |d| d.name.to_s == old_name }
      raise DylibUnknownError, old_name if old_lc.nil?

      new_lc = LoadCommands::LoadCommand.create(old_lc.type, new_name,
                                                old_lc.timestamp,
                                                old_lc.current_version,
                                                old_lc.compatibility_version)

      replace_command(old_lc, new_lc)
    end
def change_install_name(old_name, new_name, _options = {})
      old_lc = dylib_load_commands.find { |d| d.name.to_s == old_name }
      raise DylibUnknownError, old_name if old_lc.nil?

      new_lc = LoadCommands::LoadCommand.create(old_lc.type, new_name,
                                                old_lc.timestamp,
                                                old_lc.current_version,
                                                old_lc.compatibility_version)

      replace_command(old_lc, new_lc)
    end
Changes the shared library `old_name` to `new_name`
 @example
  file.change_install_name("abc.dylib", "def.dylib")
 @param old_name [String] the shared library's old name
 @param new_name [String] the shared library's new name
 @param _options [Hash]
 @return [void]
 @raise [DylibUnknownError] if no shared library has the old name
 @note `_options` is currently unused and is provided for signature
  compatibility with {MachO::FatFile#change_install_name}