News for hackers. Stuff that matters.
Re:iOS 12 uses Lua code downloaded from Apple's servers by Jyaif on Monday August 06, 2018 @03:47PM (#17701077)
That's something that Apple forbids app developers from doing (unless the lua interpreter is running in a webview).
Re:iOS 12 uses Lua code downloaded from Apple's servers by haney on Monday August 06, 2018 @04:08PM (#17701280)
https://developer.apple.com/app-store/review/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 which introduces or changes features or 
  > functionality of the app, including other apps. 
The wiggle room is in the "introduces or changes features or functionality of the app" line, they've given themselves vague discretion to reject things that download too much code, but there are tons of apps that do OTA updates that haven't been rejected because they aren't changing fundamental features/functionality.
Re:iOS 12 uses Lua code downloaded from Apple's servers by nomadluap on Monday August 06, 2018 @04:47PM (#17701658)
Also if there was no wiggle room here, then any app that downloads and displays webpage content would be in violation due to embedded javascript.
Re:iOS 12 uses Lua code downloaded from Apple's servers by DerekL on Monday August 06, 2018 @04:55PM (#17701716)
For a long time, downloaded code could only run inside Apple’s WebKit or JavaScriptCore, but since June 2017, you can use any language and interpreter. Apparently, almost nobody noticed: https://www.theregister.co.uk/2017/06/07/apple_relaxes_devel...
Re:iOS 12 uses Lua code downloaded from Apple's servers by binomialxenon on Monday August 06, 2018 @06:20PM (#17702269)
It's good that they revised that ridiculous restriction, but I think they should go further still. It was disingenuous to advertise the iPad as a "computer replacement" when having an environment for Python coding (widely used for beginner programming) was essentially banned. There really should be a way to work in even compiled languages on iDevices.
Re:iOS 12 uses Lua code downloaded from Apple's servers by mr_toad on Monday August 06, 2018 @08:53PM (#17703064)
I thought that apps that used their own interpreters weren’t allowed to download additional code after installation.

Having a self modifying app is a nightmare from a security & privacy standpoint.