IOS - error during archiving, noting UAPushLocalization.bundle / en.lproj / Localizable.strings

I created a new set of controllers, and when I tried to archive the new code, I got this error that occurred when archiving went through these controllers:

error: open /Users/owner12/Library/Developer/Xcode/DerivedData/Marketing-eusiyfrkjsbjfxdgpauubwhvpazb/Build/Intermediates/ArchiveIntermediates/Marketing/InstallationBuildProductsLocation/Applications/Marketing.app/UAPushLocalization.bundle/en.lproj/Localizable.strings: No such file or directory 

I understand that this is a push-enable library. And something about some localization settings.

But I have no idea how to fix this. Can anyone suggest how to fix this?

And here is a screenshot of this link highlighted in red in the list of Build Phases → Copy Bundle Resources.

enter image description here

Thanks Alex

+6
source share
1 answer

Xcode has some weird localization issues from time to time. I would recommend that you copy all the text into the EN localization file (expand the localization string file and select "en"). Paste it somewhere, right-click the file, show in finder, delete, select the localization file, uncheck the localization box in English, clear your project, select the localization file, check English (create a new file) and insert the lines Here.

Also make sure that there are no typos.

+3
source

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


All Articles