Foxit PDF SDK for Mac
Foxit PDF SDK for macOS supports multiple programming languages, including C++, C# (.NET Core), Java, Python, Objective-C, Go, Node.js, and more. Choose the development environment that best fits your project.
Download the SDK
- Obtain the SDK: Request a trial or download instructions through the Foxit Developer Hub, or contact the Foxit technical support team and sales representatives to get the SDK version suited to your project.
- .NET integration: In your IDE, search for and install
Foxit.SDK.Dotnetthrough the NuGet package manager for quick integration. - Python integration: Use a package manager such as
pipto download and install the Python edition of Foxit PDF SDK.- Python:
pip install FoxitPDFSDKPython3
- Python:
- Node.js integration (SDK 11.1+): Install the Node.js library with
npm.- Node.js:
npm i @fuxinsoft/foxit-pdf-sdk-node
- Node.js:
Sample projects
See Samples for an overview of the sample projects, dependency information for specific samples, and instructions for running samples from the command line.
Quick start
C++Java.NetCorePython Object-C Go Node.jsEnvironment setup
System requirements
- macOS x64 ≥ 10.6
- macOS arm64 ≥ 12.0
- Language and framework support on macOS:
| Language | macOS x64 | macOS ARM64 |
|---|---|---|
| C | ❌ | ❌ |
| C++ | ✔️ | ✔️ |
| Java | ✔️ | ✔️ |
| .NET Core | ✔️ | ✔️ |
| Python | ✔️ | ✔️ |
| Objective-C | ✔️ | ✔️ |
| Go | ✔️ | ❌ |
| Node.js | ✔️ | ✔️ |
| .NET Framework | ❌ | ❌ |
- Node.js: macOS support begins with SDK 11.1; runtime versions v10–v22 are required. See Node.js getting started.
clang compiler on Mac x64
Starting with version 9.0, the clang version used to build and compile Foxit PDF SDK for Mac (x64) was upgraded from 9.1.0 to 11.0.3.
Package structure
The Foxit PDF SDK Mac package includes the following files and folders. Directory contents vary by language binding.
- doc: API reference and developer guides.
- examples: Sample projects organized in subfolders.
- extensions_demo: Print manager samples; supported by C++ and .NET libraries only.
- simple_demo: Numerous code samples demonstrating PDF features through the API.
- view_demo: A UI sample that implements a basic PDF viewer; supported by C++ and .NET libraries only.
- include: Header files for compiled languages such as C/C++.
- lib: SDK libraries and license files for x86 and x64 CPU architectures.
- res: Default ICC profile files required by the output preview sample.
NOTE
Mac arm64 does not support PDF output preview, so the arm library does not include the res directory.