2012-09-18 106 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解決這個問題。

相關問題