Build error after localizing Info.plist

I localized Info.plist:

enter image description here

And I got this build error:

error: could not read data from '/Users/cherif/Apps/Wesh/Info.plist': The file "Info.plist" couldn't be opened because there is no such file. 

Actually now there are two Info.plist files:

 fr.lproj/Info.plist Base.lproj/Info.plist 

How to localize the Info.plist path?

+6
source share
1 answer

Discard these changes, add the InfoPlist.strings file to your project, localize it and add the necessary keys to it. For instance:

 "CFBundleDisplayName" = "App display name"; "CFBundleName" = "App bundle name"; 
+16
source

Source: https://habr.com/ru/post/989514/


All Articles