XCode实用程序模板崩溃 [英] XCode utility template crashes

查看:92
本文介绍了XCode实用程序模板崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照下面的确切步骤,我从xcode获得了一个SIGKILL:

following the next exact steps i get a SIGKILL from xcode :

  1. 为iPhone创建新的基于实用程序的iOS模板
  2. 使用仿真器构建并启动它
  3. 按下主页按钮
  4. 双击主页并关闭我的应用程序
  5. 重新启动
  1. creating a new Utility Based iOS template for the iphone
  2. building and launching it with the emulator
  3. pressing the home button
  4. double pressing home and closing my application
  5. relaunching it

我似乎无法理解为什么它崩溃了,有人能重现它并知道发生了什么吗?

i can't seem to understand why it is crashing, does anyone manage to reproduce it and has a clue about what is happening ?

谢谢!!

编辑-显然,这是正常行为,在此处希望对您有所帮助.

EDIT - apparently this is normal behaviour, found a related post here hope it helps.

推荐答案

一段时间以来,我遇到了同样的问题. 我发现在您删除h文件中的IBOutlet时会发生这种情况,但是您并未删除.xib文件中的连接.

I had the same problem for a while. I figured out that this happens when you delete an IBOutlet in your h file, but you don't delete the connection in the .xib file.

转到您的.xib(或情节提要),单击文件的所有者",然后在实用程序检查器"(在最右侧的边栏中,在连接检查器"(最右边,看起来像是带有向右箭头的圆圈))选项卡中xcode 4.x),确保您没有坐在那里的未使用的IBOutlets.

Go to your .xib (or storyboard), click on File's Owner, and in the "Connections Inspector" (far right, looks like a circle with a right arrow) tab of the "Utilities Inspector" (far right sidebar in xcode 4.x) make sure you don't have any unused IBOutlets sitting there.

对我有用...

这篇关于XCode实用程序模板崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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