- objective-c - iOS 5 : Can you override UIAppearance customisations in specific classes?
- iphone - 如何将 CGFontRef 转换为 UIFont?
- ios - 以编程方式关闭标记的信息窗口 google maps iOS
- ios - Xcode 5 - 尝试验证存档时出现 "No application records were found"
我们有一些内部应用程序,在 iOS 9 之前,应用程序会在版本比较后打开一个类似“itms-services://”的链接,然后下载并安装新版本的应用程序。
但在 iOS 9 上测试后,我们发现应用程序无法打开“itms-services://”链接,出现类似“LaunchServices: ERROR: There is no registered handler for URL scheme itms-services”的错误
我们用来更新应用的代码:
let downloadUrl = NSURL(string: url)
UIApplication.sharedApplication().openURL(downloadUrl!)
我们已经测试将“itms-services”、“itms-services://”和完整的 URL 放入 plist 文件中的“LSApplicationQueriesSchemes”。但还是不行。
最佳答案
我和你遇到了同样的问题。我通过应用程序首先使用 safari 打开 html url 的方法解决了这个问题,
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http:// xx.xx.xx.xx/xx.html"]];
html url 重定向到 url --- itms-services://?action=download-manifest&url= https://xx.xx.xx.xx/xx/xx.plist地址。虽然这种方法可以更新我的应用程序,但是更新过程需要先打开Safari然后提示打开App Store,如果你选择打开按钮然后它会提示是否安装你的应用程序,最后你确认安装按钮。该应用程序将自动安装。
我的html内容如下:
<html>
<head>
<metahttp-equiv="Content-Type" content="text/html;charset=utf-8" />
<script type="text/javascript">
function load()
{
window.location ="itms-services://?action=download-manifest&url=https://xxx/xx/xx.plist";
}
</script>
</head>
<body onload = "load()">
关于iOS 9 启动服务 : ERROR: There is no registered handler for URL scheme itms-services,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32652083/
我将我的 Mac 更新为 Mojave,并将 Xcode 更新为 10。我在我的项目中添加了一个 WatchKit 框架。当我将我的项目上传到 App Store 时,发生了一些错误。 ERROR I
我曾经有一个UIButton,它会加载itms://example.com形式的URL,按下时会在 iOS 上的 AppStore 应用程序(而不是在浏览器中)加载相关项目。 但是这对我来说不再起作用
我已经使用 Application Loader 和 .ipa 文件提交了几个以前版本的应用程序,没有出现问题。当我提交新版本时,我收到两个错误:ITMS-90086“缺少 64 位支持。提交到 Ap
错误 ITMS - 90179 无效代码签名。可执行文件“Payload/UFO.app/UFO”必须使用配置文件中包含的证书进行签名。 错误 ITMS - 90209 无效的段对齐。 “UFO.ap
当我尝试将我的应用程序上传到 AppStore 时,我遇到了一个奇怪的错误。我有两个错误:ITMS-905030 和 ITMS-90502。这些错误表明我的应用仅配置为支持 64 位。但事实并非如此!
这个问题已经有答案了: App archived with Xcode 11.2 (11B52) rejected: ITMS-90534: Invalid Toolchain (2 个回答) 已关闭
我在开始上传应用程序时遇到以下问题。我已将 armv7, arm64 添加到 Required device capabilities 但仍然存在问题。以下是错误: 最佳答案 这些是我为我的问题所做的
我正在使用 Apple 的 Transporter 来更新我的 GameCenter 成就和排行榜。我所有已在 GC 上的排行榜都分组在排行榜集下。当我尝试使用更新的metadata.xml(更新为添
我遇到两个错误,无法找到解决方案。如果你们有任何想法,请告诉我。非常感谢 错误 ITMS-90685:“CFBundleIdentifier 冲突。iOS 应用程序“----.app”下有多个 CFB
我刚启动 xcode 7 稳定版。在我当前的项目中,我正在从 web 服务下载图像。在 xcode 6.4 中工作正常。现在它没有显示任何图像并在日志中显示警告 -canOpenURL: failed
将 Xamarin.Forms iOS 应用提交到 Apple 的 TestFlight 后,我们收到以下消息。 消息: Dear Developer, We identified one or
尝试通过 Application Loader 向我的 iPhone 应用程序提交更新时出现错误。自从上次更新以来,我没有对配置进行任何更改,所以我不确定为什么它现在会提示。 我尝试在 Xcode 中
当我在 xcode 中存档我的应用程序并尝试提交到应用程序商店时,我收到以下错误: 根据我在其他论坛上阅读的内容,为了解决此问题,我需要创建一个尺寸为 320x568 的新启动图像并将其添加到我的
上传到App Store Connect可以正常工作,直到发布以供App Store审阅。 在xcode 11.3 Beta上,是最新的。 电子邮件包括; ITMS-90745: Invalid To
尝试将我的Phonegap应用提交到Appstore时,出现以下错误 错误ITMS-9000:“您的二进制文件未针对iPhone 5进行优化-针对iOS 6及更高版本提交的新iPhone应用程序和应用
这是我将应用程序二进制文件上传到iTunesConnect时收到的错误消息: ITMS-90034: Missing or invalid signature - The bundle 'com.my
如何检测用户的浏览器是否支持 iTunes 音乐商店 (itms://) 链接? 如果浏览器支持,我想提供一个 itms:// 链接,这样它就可以直接在 iTunes 中打开。但对于不支持的浏览器,我
我已经更新了 XCode,但仍然遇到同样的错误。我也安装了 adobe air 17 beta 和 adobe air SDK。 错误 ITMS - 90209 段对齐无效。 “Meteor Cras
我是一名 PC 人员,而不是一名编码员,所以我有一名开发人员正在构建一个应用程序以分发到 Apple App Store。 完成了,效果很好,但他告诉我提交过程中出现问题。他得到一个错误 ITMS-9
我的付费 iOS 应用正在接受审核,仅在日本 App Store 中发布。我想创建带有付费版本链接的免费版本,但没有付费版本的 URL。 http://itunes.apple.com/linkmak
我是一名优秀的程序员,十分优秀!