Wio Lite MG126 - errors when compiling

I am having the same problem and I can’t find the directory you mentioned on my Mac. Indeed, there is no ‘platform.txt’ fine anywhere. Any help is appreciated.