58931

XCODE keeps crashing. Deals with auto layout

Question:

I clicked to turn off auto layout. And now I click the check box to turn it on, and xcode immediately crashes..Every time. I'm pretty sure that all tableviews have a datasource. I can't work on the project! Please help.

Process: Xcode [5748] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 5.0 (3332.25) App Item ID: 497799835 App External ID: 38302662 Code Type: X86-64 (Native) Parent Process: launchd [144] User ID: 501 Date/Time: 2013-09-30 00:12:40.236 -0400 OS Version: Mac OS X 10.8.5 (12F37) Report Version: 10 Interval Since Last Report: 62599 sec Crashes Since Last Report: 13 Per-App Interval Since Last Report: 4441 sec Per-App Crashes Since Last Report: 13 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: ProductBuildVersion: 5A1413 ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch- 3742/IBPlugin/Utilities/IBObjectMarshalling.m:670 Details: Failed to compute auto layout status IBUIDatePicker, IBUILabel, IBUITableViewCell, and IBUITableViewCellContentView. Interface Builder encountered an error communicating with the iOS Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report. Exception name: NSInternalInconsistencyException Exception reason: UITableView dataSource is not set

Answer1:

I just faced this problem and removing all of the <em>File Owner's</em> <strong>Outlets</strong> and <strong>Referencing Outlets</strong> did the trick.

<strong>Note:</strong> Firstly, as I couldn't turn off autoLayout graphically as Xcode crashed just by trying to view the <em>.xib</em>, I managed to do it following <a href="https://stackoverflow.com/a/19520135/1200733" rel="nofollow">AbuYusuph's suggestion.</a>

Answer2:

I was able to fix this issue by deleting the <strong>symlinks</strong> I had from the /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/ to the /Users/xxx/Library/Developer/Xcode/iOS DeviceSupport. I hope this will help.

Answer3:

I just remade an entire viewController and it works now. Not really answering the question. I am thinking it's just a glitch

Recommend

  • Handling UI code from a Thread
  • running out of memory from for loop
  • Accessing the real file name of a symbolic linked file
  • Does installing gfortran with homebrew and with an installer create a conflict?
  • Eclipse Swing WindowBuilder returns error when trying to set border
  • emacs lisp will not start
  • Run app deployed with XCode 7 gives a crash
  • Adding new column to DataFrame with values dependent on index ref
  • Safari PHP form submission -file upload hangs
  • MySql - get days remaining
  • data.table replicate rows after join?
  • AWS-SES: Handling Bounces for Invalid ISPs
  • Varnish/Apache Random 503 Errors
  • Runtime.exec() gives Error: Could not find or load main class
  • URLConnection doesn't work since API 10 and higher?
  • C# program and C++ DLL compiled for 32-bit system crash on 64-bit system
  • Is there a perl module to validate passwords stored in “{crypt}hashedpassword” “{ssha}hashedpassword
  • Rails Find when some params will be blank
  • debug library loaded with ctypes using gdb
  • MongoError: Incorrect arguments
  • MailKit: The IMAP server replied to the 'EXAMINE' command with a 'BAD' response
  • Unity3D & Android: Difference between “UnityMain” and “main” threads?
  • Dialing with Intent.ACTION_CALL stopps at # in phone number
  • Highlight one bar in a series in highcharts?
  • Lost migrations and Azure database is now out of sync
  • Is there any way to access browser form field suggestions from JavaScript?
  • Android screen density dpi vs ppi
  • Dynamically accessing properties of knockoutjs observable array
  • Spray.io: When (not) to use non-blocking route handling?
  • script to move all files from one location to another location
  • How to extract text from Word files using C#?
  • WinForms: two way TextBox problem
  • Can I make an Android app that runs a web view in Chrome 39?
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • Change div Background jquery
  • Turn off referential integrity in Derby? is it possible?
  • Authorize attributes not working in MVC 4
  • Busy indicator not showing up in wpf window [duplicate]
  • Python/Django TangoWithDjango Models and Databases
  • Net Present Value in Excel for Grouped Recurring CF