In this blog post, I'll share a shell script that helps you to identify if your code base might use a required reason API. What are "required reason APIs" Apple classified several APIs that can be misused to access device signals to try to identify t...

Markdown supported · ⌘↵ to post
Very useful for quick check.
It could be improved a bit by adding some more checks.
ObjC API calls like NSFileCreationDate vs creationDate. Check for nested stat properties like st_mode etc (even though using them still need reference to the stat).
Also ObjC++, C++ and C files are not included, so adding .mm, .cpp, .cc and .c file extensions could return more results if such files are present in the project.
Stephen O'Connor
iOS Developer; Human Being
Thanks for making this!