【问题标题】:Strange errors when Archiving iPhone app归档 iPhone 应用程序时出现奇怪的错误
【发布时间】: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 ArchitecturesArchitectures.

标签: ios archive armv6


【解决方案1】:

我猜你使用的是 Xcode 4.5。

我刚刚遇到了同样的问题,并设法解决了这个问题。我的应用现在正在等待审核。

这是我更改的内容:在目标中,我选择了“构建阶段”,然后在“复制捆绑资源”中删除了 plist 文件。

如果这不能解决您的问题,还要确保将 iOS 部署目标设置为至少 iOS 4.3。

编辑:我还在构建设置中从 ArchitecturesValid Archictectures 中删除了 armv6。

【讨论】:

    【解决方案2】:

    我在 Xcode 4.6.3 上收到消息

    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)
    

    在模拟器上运行后尝试构建应用程序。将目标更改为 iOSDevise 即可解决此问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-06-15
      • 2017-03-04
      • 1970-01-01
      • 2013-01-18
      • 2014-12-25
      • 2011-08-10
      • 1970-01-01
      相关资源
      最近更新 更多