Editorial question29.2K views2,573 votes0 answers4,552 following
AI-generatedObjective‑C categories omitted in release builds due to dead‑code stripping
Goal Confirm category methods from a static library are retained in the final binary for production deployments. Context In debug builds the app loads the category on NSString and the custom method works. After shipping to the App Store, the same code triggers an unrecognized selector exception. The library is linked normally, but the category object file ma