XCode utility template crashes

耗尽温柔 提交于 2019-12-11 18:28:39

问题


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

  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 ?

thanks !!

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


回答1:


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.

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.

It worked for me...



来源:https://stackoverflow.com/questions/5767708/xcode-utility-template-crashes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!