There is a strange crash issue happening with Xcode whenever I am trying to do automatic conversion to ARC.
When I do the following
Refactor--> "Convert to ObjectiveC ARC", I am getting the following error crash.I tried it with Xcode 6.1.1, Xcode 6.0.1, Xcode 6.2
ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-6528/DVTKit/ViewControllers/DVTViewController.m:152
Details: view should be an instance inheriting from DVTControllerContentView, but it is <NSView: 0x7ff3afda9d10>
Related
Xcode still cause apps using UITextView to crash even after installing "Xcode Version 11.2.1 (11B500)" from app store.
Actually I faced this issue when I run the app on device after installing "Xcode 11.2.1 (11B500)". I got below error response.
Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named _UITextLayoutView because no class named _UITextLayoutView was found; the class needs to be defined in source code or linked in from a library (ensure the class is part of the correct target)'
To fix the above problem:
I had to clear the derived data folder, go to path:
~/Library/Developer/Xcode/DerivedData.
And I did clean build folder using menu: Product -> Clean Build Folder(Shift + Command + K).
Now the app won't be crashed due to UITextView issue.
Every time I try to create a new project in Xcode, the first window, which asks me for the kind of project I want to create, comes up, but after 5
seconds Xcode completely crashes:
Dyld Error Message: Library not loaded:
#rpath/IBCocoaTouchToolFoundation.framework/IBCocoaTouchToolFoundation
Referenced from:
/Volumes/VOLUME/executable_path=/*/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/Interface
Builder Cocoa Touch Tool Reason: image not found
Creating a playground works, but when Xcode tries to compile it, it fails:
Playground execution terminated because the playground process exited
unexpectedly.
Also my previously working project doesn't build anymore with following error:
Please file a bug at http://bugreport.apple.com with this warning
message and any useful information you can provide. Command
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool
failed with exit code 255
When selecting the main.storyboard or launchscreen.xib in the navigator, it also crashes immediately without any error-message afterwards.
I already re-installed Xcode multiple times, which didn't change anything.
I'm running OS 10.11 Public Beta 3 on a MacBook Pro mid 2014
Following this tutorial, http://codewithchris.com/deploy-your-app-on-an-iphone/ Xcode crashes when I run the app on my phone. On the simulator it is working. There's no warning before the crash. I tried running a completely empty app, but no luck.
I'm using Xcode 6 and an iPhone 4s with iOS 8.1.3.
The log from the Xcode crash report says this:
Application Specific Information:
ProductBuildVersion: 6C121
ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-6760/DVTFoundation/FilePaths/DVTFilePath.m:802
Details: fsrep is relative ('גÄ-/גÄ,var/folders/6g/y36l5n813bd3kch53qp4w60h0000gn/CגÄ-/גÄ,/com.apple.DeveloperTools/6.2/Xcode') parentPath must not be nil but it is.
but I don't understand it; does anyone know what this means?
I'm working with the source code for BonjourWeb using iOS 6 and Xcode 4.5.
BonjourWeb Source code for Xcode
In BonjourWebAppDelegate.m, the setting for showCancelButton:YES in the "applicationDidFinishLaunching: application:" method causes the program to crash when the Cancel button is clicked in the app's browser with the error: 2012-10-27 13:07:45.309 BonjourWeb[1762:c07] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* +[NSNetService dictionaryFromTXTRecordData:]: cannot convert nil to a dictionary.'
How can I rectify this to work properly?
Thank you.
Don
Resolved. The call to the method causing the problem is not needed.
I updated my macbook to mac os x 10.7.3(11D50b).Then when I build my project under Xcode3.2.5,
errors occurred:
/Volumes/DATA/Work/Untitled/MainWindow.xib:0:0 ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone 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.
The Interface Builder app can't be opened too.Maybe Apple didn't support IB any more? How can I solve this problem?
OK, the error was gone yesterday. Maybe reboot the computer can solve this problem.