You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: support bundle identifier when attaching to iOS processes
Adds support for using bundle identifiers (e.g., com.apple.Preferences)
in addition to process names when attaching to running processes.
Previously, objection only supported process names or PIDs when
attaching. Using a bundle identifier would result in a
ProcessNotFoundError because get_process() only matches against
process names.
This change implements a fallback mechanism that:
1. First tries the existing get_process() with the provided name
2. If that fails, enumerates all running applications
3. Matches the bundle identifier to find the correct application
4. Maps the application name to its running process
5. Returns the PID for attachment
This makes the attach workflow more user-friendly by accepting
the same bundle identifier format used by frida-ps and other
tools, eliminating the need to manually look up process names.
Fixes#401Fixes#445
Tested-on:
- Frida 17.0.7
- iOS 17.x (jailbroken device)
- Multiple iOS applications with bundle identifiers
0 commit comments