iOS应用提交 - 归档不包含的info.plist [英] iOS app submission - archive does not contain an info.plist

查看:319
本文介绍了iOS应用提交 - 归档不包含的info.plist的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图提交存档的应用程序商店与旧的应用程序我得到。我不断收到两个错误CFBundleShortVersionString关键必须在plist,以更令人不安的包不包含的plist

I am trying to submit an archive to the app store with an old app i was given. I keep receiving two errors CFBundleShortVersionString key must be in the plist and more troubling 'the package does not contain a plist'

这两个项目中的应用存在。我加入了CFBundleShortVersionString关键的plist,而plist文件最肯定存在,否则我永远无法建造。什么是这里的问题?

Both of these items exist in the app. I added the CFBundleShortVersionString key to the plist, and the plist file most definitely exists or I could never build it. What is the issue here?

推荐答案

如果上传工具未找到您的.plist文件,这将是它为什么不认为它包含了CFBundleShortVersionString关键。出于某种原因,应用程序可以在所有没有任何plist文件编译!

If the upload tool isn't finding your .plist file, that would be why it doesn't think it contains a CFBundleShortVersionString key. For some reason, apps can compile without any plist file at all!

首先,请确保您的plist文件在你的项目导航器的存在,而且它不是以红色突出显示。 (如果它已被删除或重命名光盘上,无论何种原因)

First, make sure that your plist file exists in your project navigator, and that it's not highlighted in red. (in case it has been removed or renamed on disc, for whatever reason)

在X code本项目,选择您的应用程序的目标,然后选择生成设置选项卡。搜索的plist来筛选结果。在包装,勾选Info.plist中的值。这应该是您的plist文件相对于你的X code项目的名称。例如,的MyApp / MyApp的-Info.plist中。如果是空白的,将其更改为您的plist文件的名称和重建。

In your project in Xcode, select your app's target, and then select the "Build Settings" tab. Search for "plist" to filter the results. Under "Packaging", check the value of "Info.plist". This should be the name of your plist file, relative to your Xcode project. For example, "MyApp/MyApp-Info.plist". If it is blank, change it to the name of your plist file and rebuild.

这篇关于iOS应用提交 - 归档不包含的info.plist的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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