Swift interop from Frida.
- arm64(e) Darwin platforms
- Apps built using Swift 5.0+
The bridge comes bundled with Frida as of v15.1.0. That means it's as simple as installing Frida, then:
$ frida <process name>
[Local::<process name>]-> Swift.available
true
Or, preferably, since the bridge isn't at production capacity yet, it might be better to use the latest bridge from git, as there might be fixes or patches that haven't made it to the latest Frida version yet.
$ git clone [email protected]:frida/frida-swift-bridge.git
$ cd frida-swift-bridge
$ npm install
$ npm run watch
$ frida <process name> -l _agent.js # In another terminal
The best way to really see the available APIs in action is to have a look at the testsuite. And who doesn't like a good screenshot? See the docs for more flexing.
Expect this to be alpha-ish quality software. This hasn't been battle-tested yet, and chances are there's some quite weird shit waiting to be surfaced. PRs and issues are very welcome.