Xcode 6.3.2 提交APP(Upload Archive)時崩潰的解決辦法

來源:互聯網
上載者:User

標籤:

最近在上傳為客戶做的APP時,發現Xcode總會在進行到Upload Archive這一步時崩潰,導致APP上傳不了。下面說說網上搜尋到的幾種解決辦法。

方法一

  親測有效,很簡單:

  1. 重新開啟Xcode,從菜單中選擇Window -> Organizer,開啟APP提交頁面。
  2. 保留Organizer介面,關閉Xcode再上傳即可。

方法二

  在Organizer中選擇Export,匯出ipa檔案,再使用Application Loader上傳。

  

方法三

  這個方法在我這裡沒有生效,但考慮到個例不具有代表性,還是提供給大家參考,引用原文:

Make sure you‘ve accepted all of the new agreements in the Member Center.

To check if you need to, you can go to the preferences -> accounts in XCode, and chose to view details of an account and attempt to refresh using the little button. Here, XCode will warn you that you need to accept new agreements in the Member Center before you can refresh.

On the other hand, the Organizer will just crash instead of warning you about un-signed agreements.

  大意是開發人員的Member Center可能有未接受的新條款,在Xcode的Preferences -> Accounts中,點擊開發人員帳號的view details,在彈出的點擊重新整理按鈕,Xcode會提示你接下來需要的操作。

  

方法四

  這個方法準確地描述了Organizer崩潰的原因,應該是還原了事實真相。

I have used bagusflyer‘s workaround to submit app, but finally I found out how to solve it permanently.

Here is the solution:

  1. Accept new changed terms and condition from apple developer account. (Just like Sandeep said)

  2. Go to here to generate new provision profiles, for App Store & AdHoc (Tutorial)

  3. Double click new provision profiles you downloaded to install them, and then XCode will never crash.

The problem is caused by XCode 6.0 does not handle provision profile migration properly. Developers should regenerate provision profiles for XCode 6+, but Xcode 6.0 fails to display this error message properly and crashes. (If you use XCode 6.1 Beta, it will display error messages for you, no crash. Then you will know that the problem is caused by "invalid"=="legacy" provision profile.)

After that, you can submit app and export Ad Hoc distribution for Testflight.

Xcode 6.3.2 提交APP(Upload Archive)時崩潰的解決辦法

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.