EddyVerbruggen / nativescript-localize

Internationalization plugin for NativeScript using native capabilities of each platform
MIT License
79 stars 31 forks source link

Build fails if .DS_Store present in i18n folder #37

Closed surdu closed 6 years ago

surdu commented 6 years ago

If you open the i18n folder in MacOSX's Finder, it will create a .DS_Store file in the i18n folder, and the build will fail with:

Unable to apply changes on device: emulator-5554. Error is: Invalid or unexpected token.

Removing the .DS_Store file will fix the problem, but it makes for a hell of a debugging session.

Maybe the files looked up in that folder should be much more strict ? For sure it should ignore .DS_Store.