- Wrap Utils.h's declarations in extern "C" so Tweak.xm/JSI.mm link against the plain-C symbols Utils.m actually exports, instead of expecting C++-mangled names that don't exist (confirmed via CI: "Undefined symbols ... showErrorAlert(NSString*, NSString*)"). - Add -undefined dynamic_lookup (matching RainTweak's Makefile): JSI/Hermes symbols like jsi::JSError's typeinfo only exist in the host process's own compiled-in runtime once the tweak is actually loaded into Discord, not anywhere available to link against at build time. |
||
|---|---|---|
| .. | ||
| jsi | ||
| Fonts.h | ||
| JSI.h | ||
| LoaderConfig.h | ||
| Logger.h | ||
| RCTCxxBridge.h | ||
| RCTHost.h | ||
| Theme.h | ||
| Utils.h | ||