Scott O'Toole
Scott O'Toole

Reputation: 326

Why do I have a localization in the Bundle.Main.localizations that I have deleted from my xcode project?

I think this is a simple fix, somewhere.

When I print(Bundle.main.localizations),

I get:

["de", "ar", "en", "es", "it", "Base", "fr", "pt-PT"]

However, I recently removed the Arabic strings file and removed the localization from the project:

enter image description here

How do I remove Arabic as being one of the localizations? I'm not sure about the consequences of the situation from a user standpoint and wouldn't want any weird iTunesConnect/AppStore stuff happening, for instance somehow advertising that there is an Arabic localization available, when there isn't.

Upvotes: 1

Views: 771

Answers (1)

Scott O'Toole
Scott O'Toole

Reputation: 326

Ok, solution is to make sure you clean your build folder if you remove a localization:

Command + Shift + K

Rerunning will display updated localizations.

Upvotes: 5

Related Questions