Xcode 6.3.1 quit unexpectedly - xcode

I'm getting an error Xcode 6.3.1 quit unexpectedly whenever Xcode is opened. This was working fine till last night. I have tried restart system but didn't worked. Reinstalling won't be feasible approach since I have downloaded simulator and documentations (approx 8GB of data).
Below is details of error :
Process: Xcode [816]
Path: /Applications/Xcode 6.3.1.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.3.1 (7703)
Build Info: IDEFrameworks-7703000000000000~4
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [816]
User ID: 501
Date/Time: 2015-05-29 12:05:22.140 +0530
OS Version: Mac OS X 10.10.3 (14D136)
Report Version: 11
Anonymous UUID: ...
Time Awake Since Boot: 4600 seconds
Crashed Thread: 6 Dispatch queue: gputools.DYKeyedUnarchiver.0x112ce03e0
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fffc6fbc3af
...

Remove any 3rd party plugins that you had installed with xcode and it should work fine.
This is probably because of DYKeyedUnarchiver.h. So remove it, restart system and try reopening xcode.

Now, it's working fine. Simply kept system shut-down for sometime. Maybe shutdown have reset all settings of Mac.

Related

Unable to launch Xcode 13 beta 1 and/or 2 on macOS Big Sur 11.4

I'm trying to install Xcode 13 beta on my MacBook Pro with macOS Big Sur 11.4. Here's what I did so far:
I downloaded Xcode 13 beta 2 from https://developer.apple.com/download/
Double click on the file, and then moved Xcode-beta.app to Macintosh HD/Applications
Tried to open it, but I get an error that says:
Unable to open Xcode-beta.app due to a problem.
Check with the developer to make sure Xcode-beta.app works with this version of macOS. You may need to reinstall the application. Make sure you install all available updates for the application and for macOS.
Click Report to view more detailed information and send a report to Apple.
And when I click to get more info I get this:
Process: Xcode [2153]
Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.0 (19161.15)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [2153]
User ID: 501
Date/Time: 2021-06-28 09:23:54.342 +0200
OS Version: macOS 11.4 (20F71)
Report Version: 12
Bridge OS Version: 5.4 (18P4663)
Anonymous UUID: BF2F0872-D13E-DC73-9E8D-911CD7D080B3
Sleep/Wake UUID: 9EB93895-E33C-4EA2-96CD-FF88026D93E8
Time Awake Since Boot: 23000 seconds
Time Since Wake: 4800 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x1] Library missing
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
dyld: Using shared cache: 4A889CE9-8D7E-304E-A5F7-84D819B0BF9C
Library not loaded: #rpath/XCTest.framework/Versions/A/XCTest
Referenced from: /Applications/Xcode-beta.app/Contents/SharedFrameworks/DVTKit.framework/Versions/A/DVTKit
Reason: image not found
Binary Images:
//Here there's an infinite list of binary images such as:
0x10c13f000 - 0x10c142fff com.apple.dt.Xcode (13.0 - 19161.15) <D505A1C0-5E95-3233-AB86-65959A8DE250> /Applications/Xcode-beta.app/Contents/MacOS/Xcode
I don't know how to solve this. I've seen other people that had a problem with antiviruses that blocked the app, but I don't have any installed. Many solutions I've seen require Xcode to be launched and set some preferences in the app's settings, but I can't launch Xcode so I can't try these solutions. I tried all the following commands:
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
xcode-select --install
sudo xcode-select -switch /Library/Developer/CommandLineTools
sudo xcodebuild -license accept
I tried all this with Xcode 13 beta 1 and beta 2, I tried deleting them and re-downloading them and trying everything again, but nothing seems to work. Is there anyone that knows how can I make it work?

Xcode 9 crash during uploading app to App Store

In my project the Xcode 9 crashes during uploading to App Store (or exporting to disk, it does not matter). I have found that it may be caused by cocoapods or some kind of external frameworks bug, because on my other projects which do not use cocoapods this bug does not happen. However why I created post about it here on stackoverflow is the question if anybody has a temporary solution to solve this issue?
Unfortunately it is not known when it will be fixed by Apple or cocapods...so...every help would be welcomed.
I have already reported this bug to Apple with the (shortened) log below.
Process: Xcode [7494]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.0 (13247)
Build Info: IDEFrameworks-13247000000000000~26
App Item ID: 497799835
App External ID: 823595305
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7494]
User ID: 501
Date/Time: 2017-09-20 20:04:30.103 +0200
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: 9D0C9FF5-77EB-F94F-67E5-634E39EAE67B
Sleep/Wake UUID: 30F3DB44-C016-4799-AD07-A080AA633DE8
Time Awake Since Boot: 14000 seconds
Time Since Wake: 1500 seconds
System Integrity Protection: enabled
Crashed Thread: 14 Dispatch queue: ConcurrentQueue: -[IDEDistributionPackagingStepViewController viewDidInstall]_block_invoke
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000007fcb5ab5718
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
This post was also posted on Apple Developer Forums.
After struggling with Xcode 9 for many days and having tried so many things icluding some mentioned here. I ended up
Download and install Xcode 8.3.3 ( Always keep the older version, lesson for life )
Archive the app with Xcode 9
Open Xcode 8.3.3, open Organizer and submit the app
This works. Good luck.
Update: Xcode 9.0.1 and Xcode 9.1 beta doesn't fix the issue.
I just solved the problem.
I have the same problem with Xcode Version 9.0.1 (9A1004).
First of all, check your problem is exactly same as mine.
To do this, open Terminal and put 'xattr' command and Enter.
If you can see kinda 'Permission denied' error message, fortunately you are just same as mine.
Now you can solve the problem by putting this one line command.
sudo chown -R $USER:$(id -g) /Library/Python/2.7/site-packages/protobuf-3.2.0-py2.7.egg/EGG-INFO/
so you can do 'Upload to Appstore' or 'Export IPA'.

XQuartz 2.7.8 crashes on Mac OSX Yosemite 10.10.2

I've been running XQuartz for years on several macs, but ver since I upgraded my iMac to Yosemite (now at 10.10.2) I can't get XQuartz to run at all. I've tried re-installing and upgrading XQuartz, even tried the 2.7.8_beta3, but the result is always the same - the upgrade/install itself succeeds, but when I try to launch it, it crashes. Below I've included the beginning of the error report; I've been messing around with DYLD_LIBRARY_PATH, it's possible that I've just made matters worse. Can anyone suggest a way to trouble-shoot this?
Thanks - Ed
Process: X11.bin [2078]
Path: /Applications/Utilities/XQuartz.app/Contents/MacOS/X11
Identifier: org.macosforge.xquartz.X11
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: X11.bin [2078]
User ID: 501
Date/Time: 2015-02-18 20:01:37.258 -0500
OS Version: Mac OS X 10.10.2 (14C109)
Report Version: 11
Anonymous UUID: 33386A03-9014-59C0-C36D-8C75B81D38D0
Time Awake Since Boot: 100000 seconds
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=.:/opt/X11/lib/
Dyld Error Message:
Symbol not found: _gll_noop
Referenced from: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
Expected in: /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
in /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
Binary Images:
0x100261000 - 0x10026eff7 +libXplugin.1.dylib (1) <11FC918E-BF12-3629-8766-5B89A7B51EC4> /opt/X11/*/libXplugin.1.dylib

XCode 6 crash when I select "Create a new Xcode Project"

I run Xcode 6.0.1, and I click the "Create a new Xcode Project" and just wait or click the mouse(on the blank area), the Xcode crashed. I am sure I did nothing to it and it's OK in Xcode 5.
The OS verison is 10.9.5, the Xcode version is 6.0.1. I have upgrade to iCloud Drive on my iPhone 5.
I have tried to disable version control or reinstall the Xcode/CLT, but unfortunately Xcode crash as well.
The error log is:
Process: Xcode [1196]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0.1 (6528)
Build Info: IDEFrameworks-6528000000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [166]
Responsible: Xcode [1196]
User ID: 501
Date/Time: 2014-09-30 15:43:04.618 +0800
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 4D5B9754-5C7C-0147-7A2D-D0DD7771F098
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A317
ASSERTION FAILURE in /SourceCache/IDEPlugins/IDEPlugins-6244/iCloudSupport/iCloudController.m:797
Details: Assertion failed: _workspace.finishedLoading
Object: <iCloudController: 0x7f8ab972cbc0>
Method: -_findContainerNamesToWipe
Thread: <NSThread: 0x7f8ab34174d0>{name = (null), num = 1}
Hints: None
Removing the Xcode config file might help. Try running this command.
rm ~/Library/Preferences/com.apple.dt.Xcode.plist
I had a similiar problem but it was with adding a new file. I ran this command via the terminal:
sudo find / -name '.DS_Store' -exec rm {} \;
Then I added the files I created previously as new before the crash. Upon build I received an error say it could find a file in the info.plist
I went to XCode => Perferences => Derived Data => Clicked on gray arrow listed after path location which opened it up. => closed XCode => Deleted everything the Derived Data folder => Opened the project again in XCode and it built.
Hope that helps.

xcode6.0.1 not able to start ios8 simulator [duplicate]

This question already has answers here:
Xcode beta 6 iOS 8: Simulator not working
(20 answers)
Closed 8 years ago.
Updated xcode to 6.0.1, ios 8 simulator unable to boot.
I tried in xcode preferences, under download tap, I can only see ios7 simulator and ios 7.1 simulator, no ios 8 simulator available to download from there, I was able to download ios 7 or 7.1 simulator and run test app on simulator, but can't find the way how to make it work with ios8 simulator, does anyone as any ideas?:(
here is my system crash report:
Process: launchd_sim [1385]
Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/sbin/launchd_sim
Identifier: launchd_sim
Version: 2.0.0 (560.1.3)
Code Type: X86-64 (Native)
Parent Process: launchd [155]
Responsible: launchd_sim [1385]
User ID: 501
Date/Time: 2014-09-26 11:11:52.309 +0100
OS Version: Mac OS X 10.9.5 (13F34)
Report Version: 11
Anonymous UUID: 048D18A1-2364-DAD1-67B6-1BF02E5CF5D5
Crashed Thread: 0
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000102c24000-0000000102c5d000 [ 228K] r-x/r-x SM=COW /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/sbin/launchd_sim
Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib
DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks
DYLD_SHARED_REGION=avoid
Do you have any crash logs (eg: launchd_sim crashes) in ~/Library/Logs/DiagnosticReports? If so, can you provide one of them?
Is there anything interesting in ~/Library/Logs/CoreSimulator/CoreSimulator.log?
The issue is that you have DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib in your environment. What is this for?
The iOS 8 simulator will not work on OS X Mavericks if you try to inject host dylibs into the process via DYLD_INSERT_LIBRARIES. OS X Yosemite has software changes that will work around this problem and just log the issue rather than crashing.
I suggest that you either upgrade to OS X Yosemite or simply unset DYLD_INSERT_LIBRARIES (and/or uninstall the rest of the software that is associated with libimckit.dylib).
To make sure that DYLD_INSERT_LIBRARIES is not set, edit /etc/launchd.conf or $HOME/.launchd.conf (eg: sudo nano -w /etc/launchd.conf). Look for a relevant 'setenv' line, delete it, save, and reboot your system.
Tyr going to the Window menu and selecting 'Devices'. In the window that appears there is a '+' button at the bottom left. You can use this to add more simulator devices hopefully including the iOS 8 ones.

Resources