2015-08-26 73 views
1

我正在一箇舊的macbook項目上工作,然後得到一個新的我拷貝並粘貼了該項目並繼續工作。現在,當我想更新appstore上的應用程序時,出現一系列錯誤。我嘗試了一些在網上找到的建議,但無法讓它工作。上傳ios應用程序到AppStore的錯誤

有我得到的錯誤:

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'MyApp.app/MyApp WatchKit App.app/_WatchKitStub/WK' is not permitted. Your app can't contain standalone executables or libraries, other than the CFBundleExecutable of supported Bundles." 
ERROR ITMS-90455: "The Binary you uploaded was invalid." 
ERROR ITMS-90499: "Missing Apple Watch Extension. The application 'MyApp.app/MyApp WatchKit App.app' is missing its corresponding Apple Watch Extension." 
ERROR ITMS-90508: "Invalid Info.plist value. The value for the key 'DTPlatformName' in bundle MyApp.app/MyApp WatchKit App.app is invalid." 

清洗和重建沒有做的伎倆。

在我一般項目設置,它指出在嵌入式二進制文件有一個「MyApp的WatchKit Extension.appex」

任何人都遇到同樣的問題?

感謝

+0

這與切換macbook無關 - 也許您在某個時候使用了xcode的beta版?! –

+0

我想我是,你可能就在這裏。 – Ferenc

回答

3

WatchKitSupport/WK圖書館不應該包括IPA文件中。

轉至構建階段>複製包資源並從構建中刪除它。

+0

我在複製束資源中只有「MyApp WatchKit App.app」,無法找到WatchKitSupport/WK ... – Ferenc

+0

這是我應該刪除的內容嗎? 「MyApp WatchKit App.app」? – Ferenc

+0

是的,從那裏刪除.app - 它不應該被包含在捆綁 –

0

我的工作原理是從嵌入式二進制文件(項目 - >主目標 - >常規)中刪除WatchKit擴展,然後再次添加它。

相關問題