Gatekeeper alerts when running on Mac Catalyst
You may experience the following alerts when running on Mac Catalyst from Xcode and wonder how to fix the issue.
“PSPDFKit.framework” Not Opened. Apple could not verify “PSPDFKit.framework” is free of malware that may harm your Mac or compromise your privacy. | “Instant.framework” is damaged and can’t be opened. You should move it to the Trash. |
---|---|
![]() |
![]() |
In this scenario, Xcode is finding the XCFrameworks extracted frameworks in the build directory and trying to link them instead of linking the signed frameworks in the app bundle. This issue only occurs when integrating Nutrient manually.
To fix this issue, you can either integrate Nutrient using Swift Package Manager, or run the following command in the terminal to remove the quarantine attribute that could’ve been added during the download:
xattr -d -r com.apple.quarantine PATH_TO_FOLDER_THAT_CONTAINS_XCFRAMEWORKS/*.xcframework