Could not get mounted image info: UnknownCommand when using launch or file on iOS 13.2.2 real device
truebit opened this issue · 0 comments
truebit commented
Description
Error "Could not get mounted image info: UnknownCommand" occurred when trying to run id launch or file command.
fb-idb version: 1.1.7
idb-companion version: 1.1.8
mac os x version: macOS Monterey 12.6
xcode version: Version 14.0.1 RC (14A400)
Reproduction
connect an iPhone xs max, version 13.2.2.
try to launch an app:
idb launch --log DEBUG --udid 00001020-000110AA11B0002E com.apple.TestFlight
log:
2022-09-28 21:17:12,947 [DEBUG] - launch - LaunchCommand command run with: Namespace(log_level='WARNING', compression=None, companion=None, companion_path='/usr/local/bin/idb_companion', companion_tls=False, prune_dead_companion=True, root_command='launch', bundle_id='com.apple.TestFlight', app_arguments=[], wait_for_debugger=False, foreground_if_running=False, wait_for=False, pid_file=None, udid='00008020-000335AA11B9002E', log_level_deprecated='DEBUG', json=False)
2022-09-28 21:17:12,948 [WARNING] - launch - Setting --log after the command is deprecated, please place it at the start of the invocation
2022-09-28 21:17:12,948 [DEBUG] - idb - LaunchCommand called
2022-09-28 21:17:12,949 [DEBUG] - launch - Got existing companion CompanionInfo(udid='00008020-000335AA11B9002E', is_local=True, pid=None, address=DomainSocketAddress(path='/tmp/idb/00008020-000335AA11B9002E_companion.sock'), metadata={}) for udid 00008020-000335AA11B9002E
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Adding (b':method', b'POST') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 3 with 7 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Adding (b':scheme', b'http') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 6 with 7 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Adding (b':path', b'/idb.CompanionService/connect') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 4 with 6 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 21 with 7 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Adding (b':authority', b'127.0.0.1:50051') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 1 with 6 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 11 with 7 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Adding (b'te', b'trailers') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 2 with 7 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 6 with 7 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Adding (b'content-type', b'application/grpc') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 31 with 6 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 11 with 7 bits
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Adding (b'user-agent', b'grpc-python-grpclib/0.4.3 (darwin; cpython/3.10.6)') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,951 [DEBUG] - hpack.hpack - Encoding 58 with 6 bits
2022-09-28 21:17:12,952 [DEBUG] - hpack.hpack - Encoding 38 with 7 bits
2022-09-28 21:17:12,952 [DEBUG] - hpack.hpack - Encoded header block to b'\x83\x86D\x95`\xd2F\xbd\xe3\xd3X\xea1\xea\xdc[;\x98\x85`\x87\xaa\xa2\x91?A\x8b\x08\x9d\\\x0b\x81p\xdcl\x00l?@\x82I\x7f\x86M\x835\x05\xb1\x1f_\x8b\x1du\xd0b\r&=LMedz\xa6\x9a\xca\xc8\xb5~\x939\xeaZk+%\x06\x8d\x80.\xd2\xec\xa9\xfdH;<\x1a\xaf\xb5\t_\xa4\xcez\x98ep\x81w?\xbf'
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoding b'\x88_\x8b\x1du\xd0b\r&=LMed'
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoded 8, consumed 1 bytes
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoded (b':status', b'200'), consumed 1
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoded 31, consumed 1 bytes
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoded 11, consumed 1 bytes
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoded (b'content-type', b'application/grpc'), total consumed 13 bytes, indexed True
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoding b'@\x88\x9a\xca\xc8\xb2\x124\xda\x8f\x81\x07'
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoded 8, consumed 1 bytes
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoded 1, consumed 1 bytes
2022-09-28 21:17:12,955 [DEBUG] - hpack.hpack - Decoded (b'grpc-status', b'0'), total consumed 12 bytes, indexed True
2022-09-28 21:17:12,956 [DEBUG] - launch - Companion at DomainSocketAddress(path='/tmp/idb/00008020-000335AA11B9002E_companion.sock') is local
2022-09-28 21:17:12,956 [DEBUG] - launch - Constructed client for companion CompanionInfo(udid='00008020-000335AA11B9002E', is_local=True, pid=None, address=DomainSocketAddress(path='/tmp/idb/00008020-000335AA11B9002E_companion.sock'), metadata={})
2022-09-28 21:17:12,956 [DEBUG] - idb - launch called
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Adding (b':method', b'POST') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Encoding 3 with 7 bits
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Adding (b':scheme', b'http') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Encoding 6 with 7 bits
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Adding (b':path', b'/idb.CompanionService/launch') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Encoding 4 with 6 bits
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Encoding 20 with 7 bits
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Adding (b':authority', b'127.0.0.1:50051') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Encoding 66 with 7 bits
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Adding (b'te', b'trailers') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Encoding 65 with 7 bits
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Adding (b'content-type', b'application/grpc') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Encoding 64 with 7 bits
2022-09-28 21:17:12,956 [DEBUG] - hpack.hpack - Adding (b'user-agent', b'grpc-python-grpclib/0.4.3 (darwin; cpython/3.10.6)') to the header table, sensitive:False, huffman:True
2022-09-28 21:17:12,957 [DEBUG] - hpack.hpack - Encoding 63 with 7 bits
2022-09-28 21:17:12,957 [DEBUG] - hpack.hpack - Encoded header block to b"\x83\x86D\x94`\xd2F\xbd\xe3\xd3X\xea1\xea\xdc[;\x98\x85b\x81\xdbQ'\xc2\xc1\xc0\xbf"
2022-09-28 21:17:13,243 [DEBUG] - hpack.hpack - Decoding b'\x88\xbf~\x82\x0b?@\x89\x9a\xca\xc8\xb5%B\x071\x7f\xa3\xbc{h\x91J\x8e\x95&*T\xa4\xf6\xd4\x92\xc8\xa1\xa9\x1c\xc5P\xd5J{\x8ap\xab\xadG\xf1U\xe3\xd3H\xea\x93'
2022-09-28 21:17:13,243 [DEBUG] - hpack.hpack - Decoded 8, consumed 1 bytes
2022-09-28 21:17:13,243 [DEBUG] - hpack.hpack - Decoded (b':status', b'200'), consumed 1
2022-09-28 21:17:13,243 [DEBUG] - hpack.hpack - Decoded 63, consumed 1 bytes
2022-09-28 21:17:13,243 [DEBUG] - hpack.hpack - Decoded (b'content-type', b'application/grpc'), consumed 1
2022-09-28 21:17:13,244 [DEBUG] - hpack.hpack - Decoded 62, consumed 1 bytes
2022-09-28 21:17:13,244 [DEBUG] - hpack.hpack - Decoded 2, consumed 1 bytes
2022-09-28 21:17:13,244 [DEBUG] - hpack.hpack - Decoded (b'grpc-status', b'13'), total consumed 4 bytes, indexed True
2022-09-28 21:17:13,244 [DEBUG] - hpack.hpack - Decoded 9, consumed 1 bytes
2022-09-28 21:17:13,244 [DEBUG] - hpack.hpack - Decoded 35, consumed 1 bytes
2022-09-28 21:17:13,244 [DEBUG] - hpack.hpack - Decoded (b'grpc-message', b'Could not get mounted image info: UnknownCommand'), total consumed 47 bytes, indexed True
2022-09-28 21:17:13,244 [DEBUG] - idb - launch failed
2022-09-28 21:17:13,244 [DEBUG] - idb - LaunchCommand failed
Could not get mounted image info: UnknownCommand
Solution
after this occurred, I installed iOS 13.2.2 simulator on Xcode, but it seems not working.
Additional Information
fb-idb version: 1.1.7
idb-companion version: 1.1.8
mac os x version: macOS Monterey 12.6
xcode version: Version 14.0.1 RC (14A400)