Xcode 12.4 crashes when opening any project - swift

Xcode keeps crashing whenever I try to run any .xcodeproj or .xcworkspace project.
Solutions I've tried are: reinstalling Xcode, deleting derived data, and deleting xcuserstate folder.
Xcode keeps failing with the below error:
Process: Xcode [7099]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.4 (17801)
Build Info: IDEFrameworks-17801000000000000~7 (12D4e)
App Item ID: 497799835
App External ID: 839994694
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7099]
User ID: 501
Date/Time: 2021-03-13 11:03:31.401 +0100
OS Version: macOS 11.0.1 (20B29)
Report Version: 12
Anonymous UUID: 007E7CE0-17B1-C3EF-5191-4E8908451B4E
Sleep/Wake UUID: 310A38F4-3A1F-4C76-8D12-A255873336E7
Time Awake Since Boot: 28000 seconds
Time Since Wake: 570 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 12D4e
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17801/IDEKit/Workspace/IDEWorkspaceDocument.m:3270
Details: (tabController) should not be nil.
Object: <IDEWorkspaceDocument: 0x7fa04eecbff0>
Method: -commitStateToDictionary:
Thread: <NSThread: 0x7fa045904c20>{number = 1, name = main}
Open FDs: 41/7168
Hints:

I have the same problem as you but on my side Xcode crashes only when I open a project directly from the fast project opening window (the one that opens when Xcode is launched)
Try to open the project through the Finder or from the terminal directly with the command open /nameProject/xcWorkspace
I don't have any problems with this method.

Related

MySQLWorkbench quit unexpectedly on macOS Big Sur 11.1

I have tried to re-install, but still cant open MySQLWorkbench. This is the error I get:
Process: MySQLWorkbench [3352]
Path: /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Identifier: com.oracle.workbench.MySQLWorkbench
Version: 8.0.23.CE (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: MySQLWorkbench [3352]
User ID: 501
Date/Time: 2021-01-19 08:21:33.443 -0500
OS Version: macOS 11.1 (20C69)
Report Version: 12
Bridge OS Version: 5.1 (18P3030)
Anonymous UUID: 36AA1C89-5799-157D-2CB8-D2DF0B83C543
Sleep/Wake UUID: 23957CD2-4BD4-40B9-94C3-244059218D75
Time Awake Since Boot: 7700 seconds
Time Since Wake: 2000 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Abort trap: 6
Termination Reason: Namespace SIGNAL, Code 0x6
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
the latest version of workbench has a bug, try https://downloads.mysql.com/archives/workbench/ for version:8.0.21, that will work on your mac
Version 8.0.22 works on macOS Big Sur 11.1
Version 8.0.23 did not not work on my macOS Big Sur 11.1
I just installed workbench 8.0.22 on MacOs big sur 11.2. It works well. however, it doesn't work for workbench 8.0.23.
check the error you got when you run this command:
/Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Installing python 3.7 will Solve the problem :)
Jan 2023 Update:
I had the same issue (running version 8.0.33 on an M1 MacBook Air) as of January 2023. I just installed version 8.0.31 from MySQL Workbench archives, and it works.
Download link:
https://downloads.mysql.com/archives/get/p/8/file/mysql-workbench-community-8.0.31-macos-x86_64.dmg
you should try workbench 8.0.19...
https://downloads.mysql.com/archives/get/p/8/file/mysql-workbench-community-8.0.19-macos-x86_64.dmg
works fine in MacOS BigSur
8.0.27 works for MacOs Monterey. I got from workbench
MySQL Workbench 8.0.29 works for MacOs Monterrey too. I got it from
https://dev.mysql.com/downloads/workbench/

Application crashes if we compile in Xcode 9

Application started crashing on device when we build application from Xcode 9, the application is working fine on the simulator but crashes on the device. Below are the device crash logs
Crash logs
Sep 22 18:57:33 iPhone ReportCrash(CrashReporterSupport)[324] <Notice>:
Process: Checkout [323]
Path:
/private/var/containers/Bundle/Application/13FD366C-4D41-4BC9-B958-
151CDC9E62F3/Checkout.app/Checkout
OS Version: iPhone OS 10.3.3 (14G60)
Sep 22 18:57:33 iPhone ReportCrash(CrashReporterSupport)[324] <Notice>:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Description: DYLD, Library not loaded:
#rpath/libclang_rt.ubsan_ios_dynamic.dylib | Referenced from:
/private/var/containers/Bundle/Application/13FD366C-4D41-4BC9-B958-
151CDC9E62F3/Checkout.app/Frameworks/Valid.framework/Base | Reason:
image not found
Embed swift library flag is true and application successfully compiled on machine its crashing as soon as we launch app on device.

Why does ADT let's me export once. 2nd Export it crashes OSX 10.6

I have a weird problem since a few days. After exporting a project for android once it works fine the 2nd export I do eclipse crashes with this error:
Identifier: org.eclipse.eclipse
Version: 3.8 (3.8)
Code Type: X86-64 (Native)
Parent Process: launchd [269]
Date/Time: 2013-03-12 21:36:13.365 +0100
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Interval Since Last Report: 321292 sec
Crashes Since Last Report: 3
Per-App Interval Since Last Report: 44806 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 52A136CA-CDAE-4661-B166-51B04A18C21C
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: 0x000000000000000a, 0x000000011f1c965f
Crashed Thread: 46 Java: ModalContext
Any clues. Running: adt-bundle-mac-x86_64-20130219
SIGBUS looks like bad RAM but then other things would act up aswell?
B
I guess that's random. As mentioned in this thread it looks like it can happen if eclipse is building your project at the same time as you're exporting it. You could try to disable the "build automatically" option in eclipse while you're exporting it.

Xcode 4.0.2 Crashes on launch

Xcode crashes on launch, and I do not have any idea why. I downloaded 4.0.2 + iOS SDK (4.3) and installed it. Then I tried to open it and it crashed on launch... Here is my console log that relates to the crash
enter cdyld: Library not loaded: /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication 6/14/11 6:10:55 PM [0x0-0x287287].com.apple.dt.Xcode[18402]
Referenced from: /iPhoneSDK/Applications/Xcode.app/Contents/MacOS/../../../../Library/PrivateFrameworks/DVTFoundation.framework/Versions/A/DVTFoundation 6/14/11 6:10:55 PM [0x0-0x287287].com.apple.dt.Xcode[18402]
Reason: image not found 6/14/11 6:10:55 PM [0x0-0x287287].com.apple.dt.Xcode[18402]
catch_mach_exception_raise_state_identity(): PID: 18405 thread: 0x16c77 type: 0xa code: 0x1000f7044 codeCnt: 0x2 flavor: 0x1000f7054 old_state: 0x1000f705c old_stateCnt: 0x2c new_state: 0x1000f802c new_stateCnt: 0x1000f8028 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
(com.apple.ReportCrash.Self[18405]) Job appears to have crashed: Trace/BPT trap 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
catch_mach_exception_raise_state_identity(): PID: 18404 thread: 0x17037 type: 0xa code: 0x7fff5fbfdf14 codeCnt: 0x2 flavor: 0x7fff5fbfdf24 old_state: 0x7fff5fbfdf2c old_stateCnt: 0x2c new_state: 0x7fff5fbfe43c new_stateCnt: 0x7fff5fbfe438 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
(com.apple.ReportCrash[18404]) Job appears to have crashed: Trace/BPT trap 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
catch_mach_exception_raise_state_identity(): PID: 18402 thread: 0x1703b type: 0xa code: 0x7fff5fbfdf14 codeCnt: 0x2 flavor: 0x7fff5fbfdf24 old_state: 0x7fff5fbfdf2c old_stateCnt: 0x2c new_state: 0x7fff5fbfe43c new_stateCnt: 0x7fff5fbfe438 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]
([0x0-0x287287].com.apple.dt.Xcode[18402]) Job appears to have crashed: Trace/BPT trap 6/14/11 6:10:55 PM com.apple.launchd.peruser.501[167]ode here
It looks like CoreSymbolication does not exist on your machine. I would uninstall and reinstall.
I had a similar problem with two Xcode versions which both failed to start.
I initially had Xcode 4.0.1 (back then the world was still a good place).
I wanted to see how our App looks when compiled with the current iOS SDK 5.0
So I installed Xcode 4.2 on top of Xcode 4.0.1 (overriding it completely)
I tested some stuff in my app and realized that I need to fallback to Xcode < 4.2
I installed Xcode 4.1. During the installation process the installer told me that the current installation would move from /Developer to /Developer-4.2
After all this neither of installed Xcode versions worked anymore which is bad.
I decided to uninstall Xcode 4.2 first and then reinstall Xcode 4.1 again.
I uninstalled Xcode 4.2 with the command sudo /Developer-4.2/Library/uninstall-devtools
I run the Xcode 4.1 installer again from /Applications/Install Xcode.app
After the installation Xcode 4.1 opened so it worked again...
I reinstalled via sudo /Developer/Library/uninstall-devtools and the App Store
But the offending source was restored, so Xcode crashed again. Boo!
I renamed the offending source's folder so Xcode couldn't find it.
Xcode couldn't find the source, and never crashed, which allowed me to get back to work.
Extremely Obvious Feature Request to Apple: hold 'option' to suppress previous projects from loading, plus a command line to do the same.

Uploading to iTunesConnect with Organiser crashes

I've been trying to re-upload a previously uploaded app (it originally failed submission), but both the 'Validate' and the 'Submit' button in Organiser crash Organiser itself before finishing. This has been happening for about three days now, and I haven't heard a word back from the iTunesConnect helpdesk. I am running the lastest Xcode 3.2.5 with iOS 4.2.1, and downloaded and installed the latest Application Tools as instructed. Everything installed fine.
I'm getting a:
with:
Process: Xcode [32144]
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.Xcode
Version: 3.2.5 (1760)
Build Info: DevToolsIDE-17600000~5
Code Type: X86-64 (Native)
Parent Process: launchd [348]
Date/Time: 2010-12-03 17:29:50.499 +1000
OS Version: Mac OS X 10.6.5 (10H574)
Report Version: 6
Interval Since Last Report: 4332 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 1215 sec
Per-App Crashes Since Last Report: 2
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 7 Dispatch queue: com.apple.root.default-priority
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ITunesSoftwareApplicationDescription applicationType]: unrecognized selector sent to instance 0x200c57ae0'
*** Call stack at first throw:
(
0 CoreFoundation 0x00007fff840087b4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x00007fff886ea0f3 objc_exception_throw + 45
2 CoreFoundation 0x00007fff84062110 +[NSObject(NSObject) doesNotRecognizeSelector:] + 0
3 CoreFoundation 0x00007fff83fda91f ___forwarding___ + 751
I know that this isn't the place to debug Apple apps - but someone must have had this happen and figured out how to get past it? I'm getting no joy from apple :(
thanks
As a work around, you could try Application Loader.app in /Developer/Applications/Utilities.
I generally find this more reliable.
You should create an .ipa file for you App and then use application loader as Andrew said.
Worked for me.
Btw nobody can get joy from a computer company ;) ... Apple or any other...
Check what version of Xcode you're running. I had a similar issue where I was running a developer preview - you can't submit an app from a DP version of Xcode, and mine was crashing at the exact same point as yours.
Hope this helps.