PBAutoBuild execution shows Error: There is no IDE version or Runtime version in the file

Symptom

When users execute PBAutoBuild, it shows “[Error] There is no IDE version or Runtime version in the file”.

Environment

PowerBuilder 2021 or later

Cause

The format of the build.json file is UTF-8, not the default UTF-16 LE.

Solution

Use a tool to convert the encoding of the build.json file to UTF-16 LE from UTF-8.

Or export a new build.json file via PowerBuilder IDE with default encoding of UTF-16 LE.