xcode 应用程序在使用断点启动时崩溃 [英] xcode app crashing on launch with breakpoint

查看:44
本文介绍了xcode 应用程序在使用断点启动时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在构建和运行时(在模拟器和我的 iPhone 上),我现在从 xcode 获取以下内容,应用程序永远不会启动......但是,如果我在 xcode 中停止构建然后打开应用程序似乎没问题?

At build and run (in simulator and on my iPhone) im now getting the following from xcode and the app never launches... however if i stop the build in xcode and then open the app it seems fine?

更新:是的,断点当然导致应用程序暂停(我在发布前忘记删除它)

UPDATE: Yes the breakpoint of course was causing the app to pause (i had forgot to remove it before posting)

问题在于导入和使用自定义字体.如果我删除了导入的 TTF 并在我的 plist 中添加了它的引用,一切都很好.至少我现在知道问题所在的字体

The issue is with importing and using a custom font. If i remove the imported TTF and where i added its reference in my plist things are fine. At least I now know its the font thats the issue

推荐答案

试试这个:

然后再次运行它...

这篇关于xcode 应用程序在使用断点启动时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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