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

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.

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?

VS Code Stop Support for Yosemite Mac OS 10.10 as Electron fails

I was using VS Code on Mac OS 10.10.5 Yosemite, without problems but even though at VS Code's site there's a claim that it works on version 10.10+, it seems there was a change because after I installed and linked it to Anaconda, first it failed to load and now is also giving an error when I opened Electron, inside the package it returned this
Process: Electron [2136]
Path: /Applications/Visual Studio Code.app/Contents/MacOS/Electron
Identifier: Electron
Version: ???
Code Type: X86-64 (Native)
Parent Process: bash [1969]
Responsible: Terminal [388]
User ID: 501
Date/Time: 2021-05-13 00:53:58.380 -0300
OS Version: Mac OS X 10.10.5 (14F2511)
Report Version: 11
Anonymous UUID: 4A727D22-D456-25CE-01E7-5229FC050D38
Sleep/Wake UUID: 00E47028-065E-46DE-A826-6A0637E80EF6
Time Awake Since Boot: 44000 seconds
Crashed Thread: 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
dyld: launch, loading dependent libraries
Dyld Error Message:
Symbol not found: ___NSArray0__
Referenced from: /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/ReactiveObjC.framework/ReactiveObjC (which was built for Mac OS X 10.11)
Expected in: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
in /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/ReactiveObjC.framework/ReactiveObjC
and also the same information is in Terminal if you run Electron
Referenced from: /Applications/Visual Studio Code.app/Contents/MacOS/../Frameworks/ReactiveObjC.framework/ReactiveObjC (which was built for Mac OS X 10.11)
so it seems they quietly discontinued support for Mac OS 10.10 Yosemite ...
When I tried to open the app using the finder I got an alert saying 'this is an application for Mac OS 10.11 an onwards ...', among other things.
I downloaded the Jan2021 older version of VS code and was able to successfully download and launch it. https://code.visualstudio.com/updates/v1_53
I have tried several version by now and can safely say that:
March 2021 (version 1.55) is last supported version for OS X 10.10.5 (Yosemite)
https://code.visualstudio.com/updates/v1_55

install4j gives error _CTFontCopyDefaultCascadeListForLanguages

Some users with Mac OS X 10.7.5 (Lion) are getting this error when they try to install our product, which is made with Install4j v6.1 and Java 8u162 is bundled with it. It works fine on High Sierra and El Capitan (we only have those two for testing).
Google doesn't find anything about _CTFontCopyDefaultCascadeListForLanguages and I wouldn't know how I could help the users other than giving them our *.tar.gz alternative. Maybe install4j 7 has this fixed?
Some users with 10.13.3 seem to have similar problems.
Process: java [1345]
Path: /usr/bin/java
Identifier: net.java.openjdk.cmd
Version: 1.0 (1.0)
Code Type: X86-64 (Native)
Parent Process: JavaApplicationStub [1326]
Date/Time: 2018-04-01 08:40:23.614 +0200
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 1764779 sec
Crashes Since Last Report: 380
Per-App Interval Since Last Report: 8 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 30BEE59A-23E1-4996-A873-8C05A3B43477
Crashed Thread: 28 Java: AWT-EventQueue-0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
objc[1345]: garbage collection is OFF
Dyld Error Message:
Symbol not found: _CTFontCopyDefaultCascadeListForLanguages
Referenced from: /private/var/folders/*/jre.bundle/Contents/Home/jre/lib/libawt_lwawt.dylib
Expected in: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
I had the same error on OS X 10.7.5. It occurred after I updated my java version and prevented me from opening certain applications on my machine. I had to revert to Java version 8u161 to get back up and running.
Download the installer file, jre-8u161-macosx-x64.dmg, from the Oracle archive:
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
First you may need to uninstall the existing version of java, or the installer may fail:
# Uninstall Java
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -rf ~/Library/Application\ Support/Java
Notes on uninstalling Java: https://java.com/en/download/help/mac_uninstall_java.xml
Referenced from: /private/var/folders/*/jre.bundle/Contents/Home/jre/lib/libawt_lwawt.dylib
This seems to be a Java problem rather than install4j problem. Do you get the same error if you start the application from the command line with the java launcher?

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'.

Xcode 6.3.1 quit unexpectedly

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.

Resources