Endpoint Security Frameworks SDK - Not foudn for download

Hey team, received Entitlement for Endpoint security frameworks from Apple Developer Program for mac os application, SDK is missing from local XCODE 15.2 , trying to find out on internet but nothing works. Is we are missing something for getting download the SDK for this framework integration with our softwares.

Endpoint Security is part of the macOS SDK, which is a part of every Xcode version. Can you describe the specific steps have you done to write some code with this framework's API that make you think it's not available? There's also a sample code project that you can use as a starting point to see that the frameworks are included with Xcode.

— Ed Ford,  DTS Engineer

We are missing something for getting the SDK for this framework integration with our software.

So, one small detail that's easy to miss here is that, technically speaking, "EndpointSecurity" is actually a library*, NOT a framework. In the SDK, its tbd file is at <sdk roo>/usr/lib/libEndpointSecurity.tbd and its include files are in <sdk roo>/usr/include/EndpointSecurity/. Note that those header files are the canonical documentation for the framework and include far more detail than the class reference. Please give them a very thorough review.

*For the technically curious, this is because the endpoint security operates at the very lowest "layers" of the system and cannot risk entangling itself with ANY higher level component of the system.

__
Kevin Elliott
DTS Engineer, CoreOS/Hardware

For development , we were facing issue while compiling application, Apple has approved our request of endpoint security entitlements

#1 _es_new_client, referenced from: AppNameFileControl.ExtensionMain.(startESClient in _6F8923D12EE413BBE2532B27F937A19F)() -> () in ExtensionMain.o _es_respond_auth_result, referenced from: closure #1 (Swift.OpaquePointer, Swift.UnsafePointer<__C.es_message_t>) -> () in AppNameFileControl.ExtensionMain.(startESClient in _6F8923D12EE413BBE2532B27F937A19F)() -> () in ExtensionMain.o closure #1 (Swift.OpaquePointer, Swift.UnsafePointer<__C.es_message_t>) -> () in AppNameFileControl.ExtensionMain.(startESClient in _6F8923D12EE413BBE2532B27F937A19F)() -> () in ExtensionMain.o _es_subscribe, referenced from: AppNameFileControl.ExtensionMain.(startESClient in _6F8923D12EE413BBE2532B27F937A19F)() -> () in ExtensionMain.o

#2 error: link command failed with exit code 1 (use -v to see invocation) ld: framework 'EndpointSecurity' not found clang: error: linker command failed with exit code 1 (use -v to see invocation) error: fatalError

It looks like you’re using Xcode to build an Endpoint Security system extension. If so, the following should work:

  1. In Xcode, create a new app project by choosing File > New > Project and selecting the macOS > App template.
  2. Once that’s set up, create a new Endpoint Security system extension target by choosing File > New > Target and selecting the macOS > Endpoint Security Extension template.

Then do this:

  1. In the Project navigator on the left, select your project.
  2. In the Project editor — the middle pane of the Xcode window — select your Endpoint Security system extension target on the left.
  3. At the top, select the General tab.
  4. In the Frameworks and Libraries list, you’ll see libEndpointSecurity.tbd. That’s the stub library necessary to resolve the linker error you’re reporting.

If you’re not familiar with the concept of a stub library, I explain that in An Apple Library Primer.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Endpoint Security Frameworks SDK - Not foudn for download
 
 
Q