马上要下班了,临时记录一下,方便网友快速解决问题。
首先,我产生这个问题的原因是plist文件没放到https服务器上,或者放到的https是自签名的,所以不好使,后台因为测试着急,所以直接放到了码云上,plist文件放到码云上,要正确获取plist文件地址才是正道,如果url地址copy的不对,仍会提示无法连接。
直接上图:

点击原始数据在打开的网页中copy上面的地址,才是正道,然后可以通过在iOS里写个点击事件
NSURL *url = [NSURL URLWithString:@"itms-services://?action=download-manifest&url=https://gitee.com/xxxxxx/plisttest/raw/master/appInfo.plist"];
[[UIApplication sharedApplication] openURL:url];

临时记录一下,等有时间详细整理。
网友评论