標籤: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安裝企業版無反應問題