Installation failed on macOS

Trying to install the SDK on my MacBook running macOS Monterey 12.4 beta.

During the installation it got stuck for "running package script" for a while. Then I got an error like "The Installer encountered an error that caused the installation to fail".

When running the installer, press cmd-L and attach the log output (or just the errors) thanks!

PackageKit: PKInformSystemPolicyInstallOperation failed with error: An error occurred while registering installation with Gatekeeper

It just stuck here.

The installer doesn't do anything directly with Gatekeeper; I'd chalk this error up to the beta.

Well There was a pending update to the os which might cause the error.

I just updated it and everything's going well.

Thanks anyway.