If you were to compile it yourself such that the end-user device would need to be jailbroken because it lacks the necessary digital signatures, IANAL but I think this would be totally fine on your part, and the end-user would be protected by the jail-breaking exception to the DMCA;
> Jailbreaking and Unlocking Smartphones and Tablets
Since 2010, the DMCA has allowed users to jailbreak their smartphones in order to execute lawfully obtained applications unauthorized by the phone manufacturer. Last week’s announcement reaffirmed the rationale that using unapproved applications on smartphones is fair use and limiting users’ ability to execute such applications hinders choice and impairs innovation.
https://jolt.law.harvard.edu/digest/latest-dmca-exemptions-r...
This is a non-solution.
Here's another caveat: assume the bundle I distribute is dynamically linked into the underlying operating system, such that I'm definitely distributing nothing except my own code that I wrote. Or, similarly: I ship nothing but my own code, plus a script I wrote the purchaser has to run to statically link the package with iOS libraries present on their Mac.