是否可能由于配置文件过期而导致崩溃日志? [英] Is it possible to get a crash log due to expiration of provisioning profile?

查看:161
本文介绍了是否可能由于配置文件过期而导致崩溃日志?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当应用程序在启动应用程序后或在点击应用程序后立即返回主屏幕时,我是否有办法知道是否是因为其配置文件过期或其他原因?

When an application doesn't start or it goes home screen right after tapping the application, do I have a way to know whether it is because of expiration of its provisioning profile or other reason?

我在Finder的崩溃日志中找不到它们。

I couldn't find them in crash logs from Finder.

谢谢。

推荐答案

如果应用程序的配置文件已过期,您将在设备控制台中看到它。如果您有权访问设备,将其插入您的Mac并启动Xcode。

If the app's provisioning profile has expired, you will see it in the Device console. If you have access to the device, plug it into your Mac and fire up Xcode.

从Xcode 6开始,查看已连接设备的控制台输出:

Starting with Xcode 6, to view the console output of a connected device:

连接您的设备。
使用CLI或Studio将应用程序构建并部署到设备。
使用iTunes将应用程序同步到设备(如果您不是直接构建到设备)。
启动Xcode。

Connect your device. Build and deploy the app to the device using either the CLI or Studio. Sync the application to the device using iTunes (if you are not building directly to device). Launch Xcode.

打开设备窗口。从菜单中选择窗口>设备。

Open the Devices window. From the menu, select Window > Devices.

从左侧栏中选择您的设备。

Select your device from the left bar.

设备控制台按钮()展开控制台。

Click the Show the device console button ( ) to expand the console.

控制台上,单击垃圾桶可以清除它,然后在设备上尝试启动应用程序。如果应用程序的配置文件已过期,我相信您会看到如下所示的消息:

Once you have the console up, click the trash can to clear it, then on the device try to launch the app. If the provisioning profile for the app has expired, I believe you will see a message like the following:

此可执行文件的有效配置文件找不到

这篇关于是否可能由于配置文件过期而导致崩溃日志?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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