无效的目录名称 - 您的应用包含已保留的目录名称 [英] Invalid Directory Name - Your app contains a directory name that is already reserved
问题描述
刚刚提交了我的应用以供审核,然后通过电子邮件发送了此错误消息:
Just submitted my app for review and was then emailed this error message:
无效的目录名称 - 您的应用包含已保留的目录名称:Frameworks".您必须重命名此目录.
有人有这方面的经验吗?
Anyone have experience with this?
编辑以获取更多信息:我最近更改的唯一可能导致此问题的原因是使用 Cocoapods.我正在从 xcworkspace 打开和编译.我确实注意到我使用的名为QuickDialogs"的库有一个名为Frameworks"的组,我将其重命名.
edit for a little more info: The only thing I have changed recently which may have caused this is to use Cocoapods. I'm opening and compiling from the xcworkspace. I do notice that a library called 'QuickDialogs' which I use had a Group called 'Frameworks' which I renamed.
推荐答案
尝试以下步骤:
- 找到并打开
${YOUR_PROJECT_ROOT}/Pods/Pods-resources.sh
- 搜索
${FRAMEWORKS_FOLDER_PATH}
并替换为${UNLOCALIZED_RESOURCES_FOLDER_PATH}
- 清理您的项目并删除派生数据(organizer-projects)
- 再次完成您的申请
我在通过 cocoapods 添加额外框架时遇到了这个问题.应用商店的回复告诉我有一个名为Frameworks
的目录,是保留的.此文件夹是在 Build Phases
中的 Copy Pods Resources
步骤中创建的,
I met this problem when I add extra frameworks by cocoapods. App store's response told me that there was a directory named Frameworks
, which is reserved.
This folder is created at Copy Pods Resources
step in Build Phases
,
这篇关于无效的目录名称 - 您的应用包含已保留的目录名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!