3 ms·
Does iOS allow creating new executable pages?
by enitihas 6y ago
Does iOS allow creating new executable pages?
- swiley 6y agoNope. (Well, maybe iOS would allow it with the correct entitlements but apple won’t let you publish an app that can.) You can run a browser in an interpreter but anything modern would be very unpleasant to use that way.
- yjftsjthsd-h 6y agoI expect there are 2 options: Either you can make a good (fast) browser without it (unlikely or everyone would do it), or it is possible to do because Safari has to work somehow. > apple won’t let you publish an app that can Agreed, but we're talking about whether you can technically make such an app, say to run in dev mode on your own personal device.
- enitihas 6y agoSafari might be special cased though.
- fragmede 6y agoDev mode is still limited and doesn't grant root access to the device. In dev mode there's still an app certificate, and Apple still signs it, and still prohibits escaping the app sandbox. There are also JIT specific entitlements to allow an app to dynamically load or generate code. Without those, it's unclear how feasible a developer-signed version of Firefox on iOS is. https://siguza.github.io/psychicpaper/ https://siguza.github.io/psychicpaper/ is a recent writeup that includes more details on (escaping) the limitations.
- jlokier 6y ago> it is possible to do because Safari has to work somehow. Safari is a special case. It is allowed to use JIT and writable executable pages, but this is not allowed for third party apps. It is definitely technically possible on iOS, but a significant challenge for third party developers unless using a jailbroken device.