Skip to content

17.0.1: ObjC is not defined #3460

@konsumer

Description

@konsumer

I have this issue in frida-node 17.0.1. I have this line in my script:

console.log(ObjC.available)

and it throws ReferenceError: 'ObjC' is not defined

Is there a new way to use ObjC?

This seems to run in python 17.0.1:

import frida

device = frida.get_usb_device()

session = device.attach("App Store")
script = session.create_script("console.log(ObjC.available)")
script.load()

but doesn't actually log anything

and this does log "hi", so I think I am just not handling error right:

script = session.create_script("console.log('hi')")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions