I am trying to learn how PAM works in macOS, in that process I came across one of the apple open source project in git hub. So I downloaded the project and opened it in xcode. When I tried to build the project initially I got base SDK error. I resolved that by changing the value to macOS(initially the value for base SDK is macosx.internal). After that most of the dependency error are resolved but now I am getting some of the header files are not found and also some of '.a' files are also missing. I have explored over the internet for those files but unable to get those.
I have attached the missing header files and '.a' files below. Can you please help me in build this project.
GitHub link: [https://github.com/apple-oss-distributions/pam_modules/tree/pam_modules-195)
Header files:
#include <Security/SecKeychainPriv.h>
#include <OpenDirectory/OpenDirectoryPriv.h>
#include <Heimdal/krb5.h>