我的iOS应用程序名称中包含+。 Bundle因此而无效。需要帮助解决 [英] My iOS app has a + in its name. Bundle is invalid due to this. Need help resolving

查看:129
本文介绍了我的iOS应用程序名称中包含+。 Bundle因此而无效。需要帮助解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确实在这里找到了几个非常相似或相同的线程,但它们似乎在完全解析之前结束。

I did find a couple of very similar or identical threads here but they seemed to end before full resolution.

我的应用程序在我的设备上正常运行而没有构建错误。我正在尝试提交应用程序以供批准,我收到以下错误,此捆绑包无效。可执行文件名称,由info.plist文件中的CFBundleExecutable报告,可能不包含任何这些字符..... +。所以我打开了我的info.plist文件,并将info.plist文件可执行文件名从宏$ {EXECUTABLE_NAME}更改为我的应用程序名称而没有+。我做了一个新的存档,但后来得到一个错误,说代码签名失败,退出代码为1。

My app runs fine on my device with no build error. I am trying to submit app for approval and I get the following error, "This bundle is invalid. The executable name, as reported by CFBundleExecutable in the info.plist file may not contain any of these characters ..... +". So I opened my info.plist file and changed the info.plist file executable name from the macro ${EXECUTABLE_NAME} to the name of my app without the +. I did a new archive but then get an error saying the "codesign failed with exit code 1".

在另一个线程中我读到只是更改目标名称删除+在那里留下info.plist文件,其中包含可执行文件名的宏,重新启动Xcode,然后再次归档。这让我可以存档,但我在iTunes Connect中收到了同样的错误。

In another thread I read to just change targets name removing the + from there and leaving the info.plist file with the macro for the executable name, restarting Xcode and then archiving again. That allowed me to archive but I received the same error in iTunes Connect.

我一整天都在努力,但找不到解决方案。有谁能指出我正确的方向?感谢您的帮助。

I have been working on this all day and don't find the solution. Can anyone please point me in the right direction? Thank you for any help.

推荐答案

您必须更改 $ {PRODUCT_NAME} 在构建设置中。
您必须在 Info.plist 中设置 Bundle Display Name 的名称。

You have to change ${PRODUCT_NAME} in Build Settings. And you have to set name for display at Bundle Display Name in Info.plist.

详情请见此处:
捆绑名称,可执行名称,产品名称......其他什么?

这篇关于我的iOS应用程序名称中包含+。 Bundle因此而无效。需要帮助解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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