Skip to content

Commit

Permalink
Add 4.9.5 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
morellexf13 committed Jun 17, 2024
1 parent 1d49b44 commit d092c07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymobiledevice3/cli/developer.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ async def fetch_symbols_list_task(service_provider: LockdownServiceProvider) ->
print_json(DtFetchSymbols(service_provider).list_files())
else:
if not isinstance(service_provider, RemoteServiceDiscoveryService):
raise ArgumentError('service_provider must be a RemoteServiceDiscoveryService for iOS 17+ devices')
raise RSDRequiredError(service_provider.udid)

async with RemoteFetchSymbolsService(service_provider) as fetch_symbols:
print_json([f.file_path for f in await fetch_symbols.get_dsc_file_list()])
Expand All @@ -707,7 +707,7 @@ def fetch_symbols_list(service_provider: LockdownServiceProvider) -> None:

async def fetch_symbols_download_task(service_provider: LockdownServiceProvider, out: str) -> None:
if not isinstance(service_provider, RemoteServiceDiscoveryService):
raise ArgumentError('service_provider must be a RemoteServiceDiscoveryService for iOS 17+ devices')
raise RSDRequiredError(service_provider.udid)

out = Path(out)
out.mkdir(parents=True, exist_ok=True)
Expand Down

0 comments on commit d092c07

Please sign in to comment.