Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] AttributeError: 'DeviceState' object has no attribute 'device_type' #662

Open
sheilapae opened this issue Jan 31, 2024 · 0 comments
Open
Labels
freshissue Default label for new, untriaged issues.

Comments

@sheilapae
Copy link

sheilapae commented Jan 31, 2024

I am having bellow error when running this command objection -g <IPA Identifier / Name> explore
But it worked when I tried it with DIVIA-v2. Does it have something to do with the app? what could be the cause of this?

Using USB device iOS Device
Agent injected and responds ok!
Traceback (most recent call last):
File "/usr/local/bin/objection", line 8, in
sys.exit(cli())
File "/usr/lib/python3/dist-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/objection/console/cli.py", line 182, in explore
warn_about_older_operating_systems()
File "/usr/local/lib/python3.10/dist-packages/objection/utils/helpers.py", line 177, in warn_about_older_operating
if device_state.device_type == Android and (
AttributeError: 'DeviceState' object has no attribute 'device_type'
Asking jobs to stop...
Unloading objection agent...

Environment:

Device: iPhone XS
OS: iOS 14.4
Frida Version: 16.1.11 frida-server of same version
Objection Version: 1.11.0

@sheilapae sheilapae added the freshissue Default label for new, untriaged issues. label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freshissue Default label for new, untriaged issues.
Projects
None yet
Development

No branches or pull requests

1 participant