iPhone 应用程序名称有哪些限制? (它们记录在[哪里]?!)
我花了 2 天(和很多头/墙重击)终于发现临时分发对我不起作用的原因是因为我的应用程序名称包含 UTF-8 字符。 我仍然对像苹果 iPhone 这样广泛的国际平台如何禁止这种行为感到困惑。
即,如果我的应用程序是一款中国围棋游戏,我是否可以将其称为“围棋”?!
不管怎样,我想知道......
- 这是一个实际的限制,还是临时过程中的一个错误?
- 对应用程序名称是否还有其他限制(可能是与 unix 不兼容的字符,如 ?、*、!、& 等)
- 是否有任何记录? (如果是这样,在哪里:)
- 任何人都可以指出应用程序商店中名称中带有 UTF-8 字符(特别是日语/中文)的应用程序的示例吗?
谢谢!
(我知道:看起来像是几个问题,但它们确实都是相关的!)
It took me 2 days (and a lot of head/wall pounding) to finally discover that the reason ad-hoc distribution wasn't working for me was because my app-name had UTF-8 characters. I'm still boggling over how such a widely international platform like the Apple iPhone can prohibit this.
i.e., if my app were a Chinese game of Go, am I not allowed to call it "Go! (圍棋)"?!
Anyway, I'm wondering...
- Is this an actual limitation, or a bug in the ad-hoc process?
- Are there other restrictions on app-name (perhaps chars that don't play well with unix, like ?, *, !, &, etc.)
- Is any of this documented, anywhere? (If so, where :)
- Can anyone point to an example of an app in the app-store with UTF-8 chars (particularly Japanese/Chinese) in the name?
Thanks!
(I know: it looks like several questions, but they really are all related!)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
事实证明(根据 DTS),这是 iTunes 处理临时分发方式中的一个错误。 这个问题是特定于 ad-hoc 的——我的开发者发行版工作得很好,而且我被告知应用程序商店也会很好地处理它——这只是 ad-hoc 发行版(beta 测试之类的通用机制。 )
在某种程度上,DTS 的回应是:
“我已经能够重现它。我还确认它似乎只是 Ad Hoc 发行版的一个问题,所以我倾向于相信这是 iTunes 中的一个错误(我测试过)在 8.0.1(最新版本)中,
我正在等待 iPhone 操作系统工程对此的裁决,但我建议您在测试用例应用程序中提交错误。”
(嘿,我可以投票赞成我自己的答案吗?这是作弊吗?:D)
(答案:不,你不能。所以我想会是;)
Turns out (according to DTS), it's a bug in the way iTunes handles ad-hoc distribution. This problem is specific to ad-hoc -- my developer distribution works fine, and I'm told the app-store will handle it fine, too -- it's just ad-hoc distribution (the common mechanism for things like beta-testing.)
In part, DTS's response was:
"I've been able to reproduce it. I've also confirmed it only appears to be an issue for Ad Hoc distribution, so I'm inclined to believe it's a bug in iTunes (I tested in 8.0.1, the latest).
I'm awaiting a ruling from iPhone OS engineering on this, but I would recommend you file a bug with your test case app."
(Hey, do I get to vote-up my own answer? Is that cheating? :D)
(Answer: no you can't. So I guess it would be ;)
OSX 一般来说,从 Cocoa 到文件系统都原生支持 UTF8。
日本语的例子:
http://phobos.apple.com/ WebObjects/MZStore.woa/wa/viewSoftware?id=294753911&mt=8
如果我不得不猜测,您可能必须以 ASCII 命名您的应用程序,但您可以将应用程序标题设置为 UTF8。 但不确定。
OSX in general supports UTF8 natively, throughout Cocoa to the Filesystem.
An example in 日本語:
http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=294753911&mt=8
If I had to guess, you probably have to name your application something in ASCII but you can make the application title UTF8. Not sure though.
您是否尝试过 Info.plist 中的 CFBundleDisplayName 键?
Have you tried the CFBundleDisplayName key in Info.plist?