News for hackers. Stuff that matters.
Re:Electron apps cannot be submitted to the Apple store by megous on Sunday November 03, 2019 @07:06PM (#21437724)
Presumably you can't check for violation yourself without submitting.
Re:Electron apps cannot be submitted to the Apple store by plorkyeran on Sunday November 03, 2019 @07:21PM (#21437814)
You can, and the rejection email even provides instructions for how to do so.
Re:Electron apps cannot be submitted to the Apple store by megous on Sunday November 03, 2019 @09:48PM (#21438595)
And where will you get the current list of all forbidden functions/APIs, not just those for this specific case with Electron?
Re:Electron apps cannot be submitted to the Apple store by LeoNatan25 on Sunday November 03, 2019 @11:03PM (#21438940)
Whatever symbols are found in the public header files in the /System/Library/Frameworks. Iirc, there are tools which look at a binary's used symbols and compare them to those headers.
Re:Electron apps cannot be submitted to the Apple store by saagarjha on Sunday November 03, 2019 @07:15PM (#21437779)
Of course you can! How do you think Apple's checking your binaries?
Re:Electron apps cannot be submitted to the Apple store by megous on Sunday November 03, 2019 @09:49PM (#21438602)
Using some internal tool.
Re:Electron apps cannot be submitted to the Apple store by justinclift on Monday November 04, 2019 @02:57AM (#21439700)
The internal tool is very likely using/parsing otool / ldd output and similar. eg cli tooling that comes with macOS itself
Re:Electron apps cannot be submitted to the Apple store by saagarjha on Sunday November 03, 2019 @10:33PM (#21438816)
No, it’s almost certainly just a search for strings and looking through the symbol table.
Re:Electron apps cannot be submitted to the Apple store by megous on Monday November 04, 2019 @12:02PM (#21443648)
That would be very easy to work around with dlopen and some string obfuscation. It's probably a bit more involved.
Re:Electron apps cannot be submitted to the Apple store by plorkyeran on Monday November 04, 2019 @01:57PM (#21445054)
In practice it is pretty easy to slip things past the automated checks if you try to, which is one of the reasons they threaten you with a permaban for doing so.
Re:Electron apps cannot be submitted to the Apple store by rdevnull on Sunday November 03, 2019 @07:18PM (#21437791)
exactly. Apparently Apple just started now to check against these private APIs.