从 xcode 10.1 安装到 iOS 12+ 时,应用程序在启动屏幕上冻结 [英] App freezes on launch screen when installed from xcode 10.1 to iOS 12+

查看:39
本文介绍了从 xcode 10.1 安装到 iOS 12+ 时,应用程序在启动屏幕上冻结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将应用程序从 Xcode 10.1 安装到 iPad(iOS 12.1) 时,应用程序在启动屏幕上冻结.应用程序适用于 iOS 版本低于 12 的 iPad.自从我将 Xcode 更新为 10 以来,我就面临着这个问题.

When I install the applications from Xcode 10.1 to iPad(iOS 12.1), apps freeze on the launch screen. Applications work fine with the iPads which have iOS version lower than 12. I am facing this issue since i updated Xcode to 10.

有人知道如何解决这个问题吗?

Does anyone know how to fix this issue?

推荐答案

我回答这个问题是为了帮助遇到这个问题的其他人.

I am answering this question to help others who are experiencing this issue.

如果您使用分发证书在具有临时配置文件或内部配置文件的设备上安装应用程序,应用程序会在启动屏幕上冻结.即使应用程序启动,您也不会在 Xcode 中获取日志.

If you use a distribution certificate to install the app on the device with Ad-hoc provisioning profile or in-house provisioning profile app freezes on the launch screen. Even if app launches you will not get the logs in Xcode.

以下是处理此问题的步骤:

Following are the steps to handle this issue:

  1. 创建新方案
  2. 编辑此方案并在左侧选择运行"
  3. 对于可执行文件,选择启动时询问"

使用此方案在设备上安装应用.它将要求选择要启动的可执行文件.选择您的应用程序的可执行文件名,它将在设备上启动该应用程序.您还可以在 Xcode 中看到日志.

Use this scheme to install the app on the device. It will ask to select the executable file to launch. Select the executable file name of your app and it will launch the app on the device. You also see the logs in the Xcode.

这篇关于从 xcode 10.1 安装到 iOS 12+ 时,应用程序在启动屏幕上冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆