如何更改我的 iPhone 应用程序二进制文件名

编程入门 行业动态 更新时间:2024-10-24 04:49:52
本文介绍了如何更改我的 iPhone 应用程序二进制文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

当我尝试在 iTunes Connect 上上传应用程序时出现以下错误:

I get the following error when I try to upload the application on iTunes Connect:

二进制文件名不能包含空格.请重命名二进制文件并重试."

"Binary file names cannot contain a space. Please rename your binary file and try again."

如果我尝试在 XCode 中验证应用程序,我会得到:我的 Application.ipa:文件名不能包含空格"

If I try to Validate the Application in XCode, I get: "My Application.ipa: filename may not contain whitespace"

所以我想我必须找到一种方法来重命名这个 .ipa 文件.我不想更改必须保留我的应用程序"的产品名称.我该怎么做?

So I guess I have to find a way to rename this .ipa file. I don't want to change my product name which has to stay "My Application". How can I do that?

谢谢!

推荐答案

这很好用(取自这里:http://developer.appcelerator/question/82971/filename-may-not-contain-whitespace-in-xcode-325-is-back):

This works very well (taken from here: http://developer.appcelerator/question/82971/filename-may-not-contain-whitespace-in-xcode-325-is-back):

1) 在 Xcode Organizer 中右键单击应用程序的构建日期并选择在 Finder 中显示存档应用程序"

1) In Xcode Organizer right click on the build date of the app and select "Reveal Archived App in Finder"

2) 在文本编辑器中打开 ArchiveInfo.plist(我使用 Coda)

2) Open ArchiveInfo.plist in a text editor (i used Coda)

3) 对我来说,在第 12 行它正在创建一个带有空格的应用程序:

3) For me at line 12 it was creating the application with a space:

  <key>XCApplicationName</key>
  <string>Example Name</string>

将其更改为 ExampleName 并保存文件.

Change that to ExampleName and save the file.

4) 回到 Xcode Organizer 后,您应该可以顺利通过.

4) Once you get back to Xcode Organizer, you should be able to go through fine.

这篇关于如何更改我的 iPhone 应用程序二进制文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-17 07:16:06,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/908636.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   如何更改   二进制文件   iPhone

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!