解決iOS8安裝企業版無反應問題

來源:互聯網
上載者:User

標籤:blog   http   io   ar   os   for   sp   檔案   on   

 iOS7可以下載沒有任何問題,iOS8發現掛在官網上的企業版的app點擊了提示是否安裝應用程式,但是確認以後沒有反應,找了很久,都沒有發現問題。後來查看了的device console發現安裝的時候出現

LoadExternalDownloadManifestOperation: Ignore manifest download, already have bundleID: com.mycom.MyApp

後來查資料外國開發人員推測是iOS8的一個bug:

The biggest issue for us is that we can not reproduce this onany of our devices. Our suspicion is that iOS 8 has some internalcache with bundle IDs and just doesn‘t install a build if it thinksthat an app with this bundle ID is already installed. As theinstallation doesn‘t even start, we think that iOS is matching thebundle identifier from the manifest plist against this cache.

它會尋找是否ios緩衝的identifier與bundle identifier在plist檔案中匹配,如果匹配,它會認為已經安裝了,就不會有反應。 上面解釋的很清楚。所以解決辦法就是在plist檔案中修改bundle Identifier。

比如你的plist檔案的BundleID是com.mycom.MyApp,則修改成com.mycom.MyApp.fixios8。(建立一個假的bundleID,可以隨便取,這樣ios就不會認為你已經安裝。記住是修改plist檔案的bundleID,不是應用程式的bundleID)

發布以後就發現可以了。只是如果你已經安裝了app,則會出現一個新的下載的空白icon,因為這個app的bundleID與你plist的bundleID不一致,當下載完成後,會覆蓋原本app,因為它會檢測到下載安裝的app的bundleID已經存在並且覆蓋。

完美解決

 

(部落格地址:http://blog.csdn.net/zwkm6936367/article/details/39522343)

解決iOS8安裝企業版無反應問題

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.