使用Azure Blob存储安装ios应用 [英] Using azure blob storage for installing ios apps
问题描述
我正在尝试使用azure建立私人应用商店.我正在尝试使用azure blob存储来存储.ipa和.plist文件. 这是参考: http://gknops.github.io/adHocGenerate/
I am trying to set up a private app store using azure. I'm trying to use azure blob storage for storing .ipa and .plist files. here is the reference:http://gknops.github.io/adHocGenerate/
我可以将文件上传到azure blob存储中,并且可以在具有容器访问权限的容器中使用这些文件(我可以在移动设备中浏览到该文件).
I am able to upload files to azure blob storage and the files are available in the container with container access(i am able to browse to the file in my mobile).
现在,当我尝试使用itms-services并打开.plist文件超链接时,它抛出无法连接到xxxxxxx.blob.core.windows.net".但是,当我打开指向我的ipa和plist的链接时,它们就起作用了.
Now when I try to use itms-services and open the .plist files hyperlink it is throwing that "cannot connect to xxxxxxx.blob.core.windows.net". But when I open the links to my ipa and plist they are working.
所有网址(html,ipa nad plist)仅是https,并且使用移动网络,因此没有网络限制.
All the urls(html, ipa nad plist) are https only and using a mobile network so there are no network restrictions.
例如: 我将存储文件上传为:myFile_v2-1-6.ipa,myFile_v2-1-6.plist 我在html中将其称为 https://xxxx.blob.core.windows.net/xxxxxxx/myFile_v2-1-6.plist>
ex: I am uploading the stored file as: myFile_v2-1-6.ipa, myFile_v2-1-6.plist I am referring it in html as https://xxxx.blob.core.windows.net/xxxxxxx/myFile_v2-1-6.plist">
有人可以帮助我解决这个问题吗?非常感谢您的帮助. 我的html在 https://xxxxxxxxx.azurewebsites.net
Can someone help me with this issue? Your help will be very much appreciated. my html is there in https://xxxxxxxxx.azurewebsites.net
推荐答案
Azure Blob存储工作正常.这是我的plist文件的问题. 我正在使用XmlDocument对其进行编辑并保存,然后XmlDocument在DTD元素中添加大括号[],因此plist文件已损坏,并引发此错误.
Azure Blob storage was working fine.it was the problem with my plist file. i am editing it using XmlDocument and saving it, then XmlDocument adding braces [] to the DTD element because of which the plist file is corrupted and throwing this error.
请一些人理解这一点,现在我正在使用字符串替换并使用该plist文件删除[].应用程序安装一切正常.
took some to understand this and now i am removing the [] using string replace and using that plist file. app installation is all working fine.
这篇关于使用Azure Blob存储安装ios应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!