If you are encountering trouble with PDK, check for these common issues. 

Windows: Execution policy restrictions

In some Windows installations, the default execution policy restrictions prohibit pdk commands.

To fix this issue, set your script execution policy to at least RemoteSigned by running Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

Alternatively, you can change the Scope parameter of the ExecutionPolicy to the current session only by running Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

For more information about PowerShell execution policies or how to change them, see Microsoft documentation about Execution_Policies and how to set execution policy.

PDK not in ZShell PATH on Mac OS X

With ZShell on Mac OS X, PDK is not automatically added to the PATH. To fix this, add the PATH by adding the line eval (/usr/libexec/path_helper -s) to the ZShell resource file (~/.zshrc).

Back to top