2012-09-18 56 views
1

因此,我试图将我的iPhone应用程序归档以进行临时测试,并且出现了一些奇怪的情况。当我将它归档时,在它所说的归档类型顶部,出于某种原因它说“Mac应用程序归档”而不是通常的“iOS应用程序归档”归档iPhone应用程序时出现奇怪的错误

我不知道为什么会发生这种情况,因为这不是一个mac应用程序。

当我归档可能有帮助的应用程序时,我有以下三条警告,但我不确定。

第一是这一个

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应用程序。

谢谢

+1

您正在使用哪种Xcode版本? Xcode 4.5不再支持ARMV6!对于旧版本,请确保ARMV6已在两个版本中列出;有效的体系结构和体系结构。 – Till

回答

3

我猜你正在使用Xcode 4.5。

我刚刚遇到同样的问题,并设法解决问题。我的应用正在等待审查。

这是我改变了:在目标中,我选择了“构建阶段”,然后在“复制束资源”中删除了plist文件。

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

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

0

我得到的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解决这个问题。

相关问题