2

We use UILocalNotification in my project as reminders.

Our app is translated so we set the string value of the notification with NSLocalizedString.

Xcode 9 displays an error while setting the notification (e.g.) :

[strings] ERROR: C'est le moment de faire votre action not found in table Localizable of bundle CFBundle 0x102100370 </var/containers/Bundle/Application/7D6F3FEC-0526-4393-B592-20BFD44DA64B/Myapp.app>

This is not the key of the localized string nor the comment used on the NSLocalizedString and when the notification pops-up the proper value is displayed, but system will recognize it as a key and display it capitalized.

I've been stumbling on this for a while now, if someone could give me a hint on where to go that would be appreciated.

thibaut noah
  • 1,474
  • 2
  • 11
  • 39
  • have you ever fixed the issue? I'm having the same problem with only one language out of 9 – Kappe Jan 06 '20 at 11:17
  • @Kappe honestly mate it's been so long i have no idea, i couldn't even reproduce it – thibaut noah Jan 10 '20 at 14:24
  • 1
    I solved this, the issue was a not-unicode character in the .strings file that was breaking it, unfortunately XCode didn't dectect it and the failure was only at runtime. – Kappe Jan 10 '20 at 16:13

0 Answers0