A tweak for iPhone Simulator that simulates 3D Touch quick action menus for testing UIApplicationShortcutItem API.
SBShortcutMenuSimulator is a tweak for the iPhone Simulator that enables developers to simulate 3D Touch quick action menus for testing the UIApplicationShortcutItem API. It solves the problem of testing pressure-sensitive iOS features in simulator environments where physical 3D Touch hardware isn't available. The tool works by injecting into SpringBoard and allowing developers to trigger shortcut menus via network commands.
iOS developers building apps with 3D Touch quick action support who need to test their implementation in the iPhone Simulator. Particularly useful for developers without access to physical 3D Touch devices.
Developers choose SBShortcutMenuSimulator because it provides the only way to test 3D Touch quick actions in the simulator environment, eliminating the need for physical hardware during development. Its simple network-based triggering mechanism makes it easy to integrate into testing workflows.
3D Touch shortcuts in the Simulator
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables testing of the UIApplicationShortcutItem API in the iPhone Simulator without physical 3D Touch hardware, as described in the README for solving a specific development pain point.
Works directly within SpringBoard via DYLD_INSERT_LIBRARIES injection, allowing seamless testing in the simulator environment without additional hardware, as shown in the usage commands.
Uses TCP communication on port 8000 to trigger shortcut menus, making it easy to automate testing with simple commands like 'echo com.apple.mobilecal | nc 127.0.0.1 8000' from the README example.
Follows a minimal, focused approach to simulate 3D Touch quick actions, avoiding bloat and directly addressing the need for testing in simulator environments.
Requires Xcode 7 GM or later, which is an old version, and may not be compatible with newer Xcode releases or iOS versions, as stated in the README's Requirements section.
Involves SpringBoard injection with multi-step command-line instructions like 'xcrun simctl spawn booted launchctl debug system/com.apple.SpringBoard', which can be error-prone and intimidating for some developers.
Only supports 3D Touch, which has been phased out in favor of Haptic Touch on newer iPhones, making the tool less useful for modern iOS development beyond legacy testing.
Tweaking system processes like SpringBoard could lead to simulator instability or crashes, as hinted in the README's note about old installation methods requiring uninstallation directions.