To use Cephei in a Theos-based tweak project, you must link the framework and declare the dependency in your control file. Theos provides the necessary headers and linkable frameworks automatically.
1. Link the Framework
Add Cephei to your EXTRA_FRAMEWORKS list in the Makefile. If your project specifically uses CepheiUI or CepheiPrefs, you must add those names to the list as well.
2. Declare Dependencies
You must add ws.hbang.common to the Depends: list in your project's control file. It is recommended to specify the minimum version of Cephei required to ensure all features used by your tweak are available on the user's device.
Note: If ws.hbang.common is not present on the device, your binaries will fail to load.
# In your Makefile
MyAwesomeTweak_EXTRA_FRAMEWORKS += Cephei
# If using specific components:
MyAwesomeTweak_EXTRA_FRAMEWORKS += CepheiUI CepheiPrefs
# In your control file
Depends: mobilesubstrate, something-else, some-other-package, ws.hbang.common (>= 2.0)