警告 ITMS-90176 - 无法识别的语言环境 base.lproj [英] WARNING ITMS-90176 - Unrecognized locale base.lproj

查看:66
本文介绍了警告 ITMS-90176 - 无法识别的语言环境 base.lproj的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从我更新到 XCode 10 后,我在将我的应用程序上传到 App Store 时收到以下警告:

Since I updated to XCode 10, I get the following warning when uploading my app to the App Store:

Unrecognized Locale - 本地化中使用的语言环境名称('Payload/MyApp.app/base.lproj') 中的目录无效.iTunes支持 BCP47 但不支持 UN M.49 规范.参考关于命名的更多信息的语言和区域设置指南您的特定语言目录.

Unrecognized Locale - The locale names used in localization directories at ('Payload/MyApp.app/base.lproj') are invalid. iTunes supports BCP47 but not the UN M.49 specification. Refer to the Language and Locale Designations guide for more information on naming your language-specific directories.

知道如何解决这个问题吗?

Any idea how to solve this?

如果没有,是否有可能在不进行完整上传的情况下找出此警告是否仍然发生?

If not, is there a possibility to find out if this warning still occurs without doing a complete upload?

推荐答案

似乎只有 .storyboard.xib 文件应该放在基础国际化目录中.

It seems like only .storyboard and .xib files should be placed in base internationalization directories.

我将所有 .strings 文件从 base.lproj 移动到 en.lproj 目录,现在警告消失了.

I moved all my .strings files from base.lproj to en.lproj directories, now the warning is gone.

这篇关于警告 ITMS-90176 - 无法识别的语言环境 base.lproj的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆