Bundle标识符与保留的bundle标识符不同 [英] Bundle identifier differs from reserved bundle identifier

查看:158
本文介绍了Bundle标识符与保留的bundle标识符不同的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在itunes上传我的应用。为此我创建了一个app id并保留了一个bundle标识符。在我的项目中,我更改了info.plist文件中的包标识符。但是当我试图在itunes上传我的应用程序时,它显示错误Bundle identifier与保留的bundle标识符不同。我正在更改info.plist中的包标识符,但它显示错误中的旧标识符。还有其他地方我们还要更改包标识符吗?因为更改info.plist中的包标识符不起作用。

I am trying to upload my app on itunes. For that I have created an app id and reserved a bundle identifier. In my project I have changed bundle identifier in info.plist file. But when I am trying to upload my app on itunes it is showing error that "Bundle identifier differs from reserved bundle identifier". I am changing the bundle identifier in info.plist but its showing the old one in the error. Is there any other place where we have to change the bundle identifier too? because changing the bundle identifier in info.plist is not doing the work.

推荐答案

我想出来了。修正plist文件以匹配iTunes Connect上的软件包ID后,您必须实际删除构建目录的内容。即使只是一个干净的命令也不会清除该目录中的info.plist文件。我删除了我的项目的build / Distribution-build文件夹并重新构建并且它有效。

I figured this out. Once you correct your plist file to match your bundle ID on iTunes Connect you have to actually delete the contents of your build dir. Even just a clean command will not clear out the info.plist file in that directory. I deleted my project's build/Distribution-build folder and re-built and it worked.

这篇关于Bundle标识符与保留的bundle标识符不同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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