4 ms·
They removed that clause a few years ago :) You can now load code at runtime as long as it's sandboxed. JS inside a UIWebView, for example, is widely accepted.
by jdmoreira 10y ago
They removed that clause a few years ago :) You can now load code at runtime as long as it's sandboxed. JS inside a UIWebView, for example, is widely accepted.
- mysterydip 10y agoOh, excellent! Good to know, thanks!
- greggman 10y agoCan you point to where they removed it. AFAICT it's still in full force. Your example of JS inside a UIWebView is true but anything else is not. The only allowed code loaded at runtime has to be either (a) already in the app or (b) executed by a WebView. In other words you can't execute downloaded code in BASIC unless that BASIC is implemented in JavaScript running in a WebView Is your app doing that? From the current (as of 2016/10/16) app guidelines 2.5.2 Apps should be self-contained in their bundles, and may not read or write data outside the designated container area, nor may they download, install, or execute code, including other iOS, watchOS, Mac OS X, or tvOS apps. It's also more explicit in the developer license dated 2016/9/21 3.3.2 Except as set forth in the next paragraph, an Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exceptions to the foregoing are scripts and code downloaded and run by Apple's built-in WebKit framework or JavascriptCore, provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store.
- tluyben2 10y ago> provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store But does this part not prevent all coding apps? As any code will change the intended behavior of the app simply because you cannot describe behavior of something Turing complete that can be loaded from the web and be changed online?
- tluyben2 10y ago> provided that such scripts and code do not change the primary purpose of the Application by providing features or functionality that are inconsistent with the intended and advertised purpose of the Application as submitted to the App Store But does this part not prevent all coding apps? As any code will change the intended behavior of the app simply because you cannot describe behavior of something Turing complete that can be loaded from the web and be changed by anyone?
- deleted 10y ago[deleted]