Hi guys. I've recently started having some issues with XCode crashing when developing iOS apps. This hasn't been as a result of an update to XCode or OS X but I cannot recall what I have done to cause this problem.
Whenever I open the storyboard file in an iOS project, I get an error saying:
'Interface Builder Cocoa Touch Tool quit Unexpectedly'. (I'll attach full error logs at the end of the post). The same error pops up if I try to build the app as well.
Developing Mac Cocoa Applications however all runs without a hitch, no issue there.
It looks like I am missing several core frameworks for the iOS SDK. When I run the command
from terminal I get the error message
as well as the standard quit unexpectedly pop up.
I have tried:
- Completely removing XCode using sudo /Developer/Library/uninstall-devtools mode=all
- Reinstalling XCode using the file on developer.apple.com instead of the App Store.
- Running the command sudo update_dyld_shared_cache -force
- Running the OS X 10.7.2 Combo update file.
- Manually searching for and placing the frameworks it complains that I am missing. This was working fine until it complained about one that I couldn't find.
- Changing my PATH to only include the unix paths (not brew/macports/fink ones).
Is there any way I can fix the missing frameworks without reinstalling OS X.
Obviously I've done something to make this suddenly start to malfunction. I thought it would be some C library (i.e. Boost) I've installed with Brew/MacPorts but I've removed those to no avail.
Logs
XCode internal error: http://pastebin.com/rv9LYyHn
XCode quit unexpectedly: http://pastebin.com/Fe5rqNzT
Interface Builder Cocoa Touch Tool quit unexpectedly: http://pastebin.com/sRZH8VU1
Console logs: http://pastebin.com/7ekVSwGB
I really hope someone can help. If anyone else has experienced this issue and managed to solve it I would massively appreciate your input. I'm sure that a reinstall of OS X will solve the problem but that is a last resort.
Many thanks in advance,
Ollie Armstrong
Whenever I open the storyboard file in an iOS project, I get an error saying:
'Interface Builder Cocoa Touch Tool quit Unexpectedly'. (I'll attach full error logs at the end of the post). The same error pops up if I try to build the app as well.
Developing Mac Cocoa Applications however all runs without a hitch, no issue there.
It looks like I am missing several core frameworks for the iOS SDK. When I run the command
Code:
/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/Interface\ Builder\ Cocoa\ Touch\ Tool
Code:
dyld: Library not loaded: /System/Library/Frameworks/CoreText.framework/CoreText
Referenced from: /Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Agents/Interface Builder Cocoa Touch Tool
Reason: image not found
Trace/BPT trap: 5
I have tried:
- Completely removing XCode using sudo /Developer/Library/uninstall-devtools mode=all
- Reinstalling XCode using the file on developer.apple.com instead of the App Store.
- Running the command sudo update_dyld_shared_cache -force
- Running the OS X 10.7.2 Combo update file.
- Manually searching for and placing the frameworks it complains that I am missing. This was working fine until it complained about one that I couldn't find.
- Changing my PATH to only include the unix paths (not brew/macports/fink ones).
Is there any way I can fix the missing frameworks without reinstalling OS X.
Obviously I've done something to make this suddenly start to malfunction. I thought it would be some C library (i.e. Boost) I've installed with Brew/MacPorts but I've removed those to no avail.
Logs
XCode internal error: http://pastebin.com/rv9LYyHn
XCode quit unexpectedly: http://pastebin.com/Fe5rqNzT
Interface Builder Cocoa Touch Tool quit unexpectedly: http://pastebin.com/sRZH8VU1
Console logs: http://pastebin.com/7ekVSwGB
I really hope someone can help. If anyone else has experienced this issue and managed to solve it I would massively appreciate your input. I'm sure that a reinstall of OS X will solve the problem but that is a last resort.
Many thanks in advance,
Ollie Armstrong
Last edited: