Code class files created by the Editor that include the Copyright symbol (©) are created with UTF-16 encoding. This encoding is not supported by Xcode on Mac, and will result in a build failure. In order to be able to successfully build the project in Xcode, the encoding for each new code file added to the project by the Editor that contains the Copyright symbol must be changed to UTF-8.
The new code class is added to the project, but the compile of the project including the new class will fail. The error message displayed states UTF-16 byte order mark detected.
The project compile completes successfully.
After adding the code class to the project, edit the encoding of the files and change it from UTF-16 to UTF-8.
Head over to the existing Questions & Answers thread and let us know what's up.
|Component||UE - Platform - Mac|
|Affects Versions||4.15.1, 4.19|
|Created||Mar 27, 2017|
|Resolved||Aug 18, 2021|
|Updated||Aug 18, 2021|