---
title: "Discussion on \"How to check if you use a required reason API\" | Hashnode"
description: "Discussion on \"How to check if you use a required reason API\". Learn about Apple's required reason APIs (which need to be declared in your app's privacy manifest) and use a shell script helping you to identity such APIs"
url: "https://hashnode.com/posts/how-to-check-if-you-use-a-required-reason-api/64e41f0653449efc4555e490"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to check if you use a required reason API](https://blog.eidinger.info/how-to-check-if-you-use-a-required-reason-api?utm_source=hashnode&utm_medium=feed)

Learn about Apple's required reason APIs (which need to be declared in your app's privacy manifest) and use a shell script helping you to identity such APIs

Aug 22, 2023 · 2 min read · blog.eidinger.info  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#security](https://hashnode.com/tag/security)

## Written by

[Marco Eidinger](https://hashnode.com/@MarcoEidinger)

@MarcoEidinger

  
[View profile](https://hashnode.com/@MarcoEidinger)

#Swift #iOS SDK architect 🇺🇸 🇩🇪

I am a Software Engineer working on open source and enterprise mobile SDKs for iOS and MacOS developers written in Swift. From 🇩🇪 and happily living in 🇺🇸

## Responses 2

Markdown supported · ⌘↵ to post

[Stephen O'Connor](https://hashnode.com/@horseshoe7)

[Mar 15, 2024](https://hashnode.com/posts/how-to-check-if-you-use-a-required-reason-api/64e41f0653449efc4555e490/comment/65f3ffaa3cfd49fbf616d93d)

Thanks for making this!

[Martin Gyupchanov](https://hashnode.com/@Gyupchanov)

[Oct 5, 2023](https://hashnode.com/posts/how-to-check-if-you-use-a-required-reason-api/64e41f0653449efc4555e490/comment/651ed0ad7e37d3b346c619a1)

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.
