【发布时间】:2012-09-18 23:31:00
【问题描述】:
所以我正在尝试归档我的 iPhone 应用程序以进行临时测试,但我遇到了一些奇怪的情况。当我存档它时,在它显示存档类型的顶部,由于某种原因,它说“Mac 应用存档”而不是通常的“iOS 应用存档”
不知道为什么会这样,因为这不是mac App。
当我归档可能有帮助的应用程序时,我收到以下三个警告,但我不确定。
第一个是这个
iPhone/iPod Touch: application executable is missing a required architecture.
At least one of the following architecture(s) must be present: armv6 (-19033)
我不确定为什么会这样,因为我在有效架构中列出了 armv6 和 armv7
我得到的第二个警告是这样的
The CodeResources file is missing and it must be a symbolic link to
_CodeSignature/CodeResources. Make certain that the bundle is on a locally-mounted volume
(not a remote SMB volume), and be certain to use the Mac OS X Finder to compress it
(-19062)
同样,不知道为什么会发生这种情况,甚至不知道这意味着什么。
最后一个错误是这个
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Catch It/Resources/Info.plist'.
我真的迷路了,我不知道它想告诉我什么。
请帮助我,因为我无法分发这个 ipa,因为它认为它是一个 mac 应用程序。
谢谢
【问题讨论】:
-
您使用的是哪个 Xcode 版本? Xcode 4.5 不再支持 ARMV6!对于旧版本,请确保 ARMV6 列在两者中;
Valid Architectures和Architectures.