gpt4 book ai didi

ipad - iOS : Install iPad App wirelessly doesn't work

转载 作者:行者123 更新时间:2023-12-02 02:16:40 25 4
gpt4 key购买 nike

我关注了this精确地以无线方式安装应用程序并关注不同的博客和帖子,但无法使企业分发工作。

我做了以下事情。

Index.html 页面:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>My app</title>
</head>
<body>
<ul>

<a href="itms-services://?action=download-manifest&url=http://10.0.20.600:5151/MyApp.plist">
Install App</a>
</ul>
</body>
</html>

MyApp.plist 文件:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URL</key>
<string>http://10.0.20.600:5151/MyApp.ipa</string>
<key>display-image</key>
<string>http://10.0.20.600:5151/icon72x72.png</string>
<key>full-size-image</key>
<string>http://10.0.20.600:5151/icon512x512.png</string>
<key>bundle-identifier</key>
<string>com.MyCompany.MyApp</string>
<key>bundle-version</key>
<string>1.0</string>
<key>title</key>
<string>MyAppName</string>
</dict>
</plist>

启用的 MIME 类型:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<mimeMap fileExtension=".ipa" mimeType="application/octet-stream" />
<mimeMap fileExtension=".plist" mimeType="text/xml" />
</staticContent>
</system.webServer>
</configuration>

授予对 MyApp.plist 文件的完全权限。

当我打开 http://10.0.20.600:5151/index.html在 iPad 上的 Safari 页面上,我得到该页面并单击安装应用程序,* 它没有执行任何操作 * 没有错误,什么也没有!

有人还提到要下载移动配置文件,所以我在 index.html 中添加了以下内容

<a href="http://10.0.20.600:5151/MyApp.mobileprovision">
Install Provisioning File</a>

..但是当我点击它时它说“找不到文件或目录”。

谁能告诉我我在这里缺少什么?我现在已经花了半天时间来完成这项工作!

最佳答案

我也有同样的问题。

我已经添加了 MIME 类型。我能够打开图标。尝试在 iPad 上打开 ipa 时,我遇到了与您遇到的相同的错误。但是我可以从我电脑上的浏览器打开 ipa。

我已按照此 link 中的步骤操作,但是当我点击链接时仍然没有任何反应。也许该链接对您有帮助,即使它对我没有任何帮助?

我的 list 文件看起来也有点不同(顺便说一句,不是由 xcode 创建的)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>items</key>
<array>
<dict>
<key>kind</key>
<string>software-package</string>
<key>url</key>
<string>http://url/to/ipa.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>http://url/to/icon/57.png</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>http://url/to/full/icon.png</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.app.myapp</string>
<key>bundle-version</key>
<string>1.1</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>myApp</string>
</dict>
</dict>
</plist>

抱歉,我无法提供更多帮助!

关于ipad - iOS : Install iPad App wirelessly doesn't work,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10215042/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com