Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
megous
· 7y ago · 0 comments
Presumably you can't check for violation yourself without submitting.
Comments
[–]
plorkyeran
7y ago
You can, and the rejection email even provides instructions for how to do so.
[–]
megous
OP
7y ago
And where will you get the current list of all forbidden functions/APIs, not just those for this specific case with Electron?
[–]
LeoNatan25
7y ago
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.
[–]
saagarjha
7y ago
Of course you can! How do you think Apple's checking your binaries?
[–]
megous
OP
7y ago
Using some internal tool.
[–]
justinclift
7y ago
The internal tool is
very
likely using/parsing otool / ldd output and similar. eg cli tooling that comes with macOS itself
[–]
saagarjha
7y ago
No, it’s almost certainly just a search for strings and looking through the symbol table.
[–]
megous
OP
7y ago
That would be very easy to work around with dlopen and some string obfuscation. It's probably a bit more involved.
[–]
rdevnull
7y ago
exactly. Apparently Apple just started now to check against these private APIs.