Xcode 6.1 crashed when I tried to get to this screen: Edit scheme -> Run -> Options tab
Sample screenshot: http://meandmark.com/blog/wp-content/uploads/2013/12/Xcode-5-Current-Working-Directory.png
Now it crashes every time I go to "Edit Scheme..."
I'v tried rebooting and even reinstalling Xcode.
When I reinstalled Xcode I was able to open "Edit scheme" window, but Options tab crashed it again.
Crash report:
Process: Xcode [404]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1 (6604)
Build Info: IDEFrameworks-6604000000000000~2e)
Parent Process: ??? [1]
Responsible: Xcode [404]
Date/Time: 2014-11-05 15:54:10.508 +0100
OS Version: Mac OS X 10.10 (14A389)
Report Version: 11
Time Awake Since Boot: 710 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending _editActiveContextAction: to <IDESchemeToolbarController: 0x7fa2173e4940> from <NSMenuItem: 0x7fa217598500 Edit Schemeā¦>
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -[__NSArrayM insertObject:atIndex:]: object cannot be nil
UserInfo: (null)
use command: defaults delete com.apple.dt.Xcode
Solved my issue :)
Try to switch your Mac OS language settings to English (System Preferences -> Language & Region), add English in Preferred Languages and set it to Primary. It helped me, I had Czech as my Primary Language and Xcode crashed every time I tried to access Options in Edit Scheme window. Works in Xcode 8, hadn't tried it in previous versions.
Related
I am trying to open a project made in Xcode 12 using Xcode 13.1 and I get crash. In Xcode 12 it opens without problems Log shown below. Can you help me ? Thank you.
P.S. I found that the problem is in Info.plist but could not localize it
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Xcode [7074]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 13.1 (19466)
Build Info: IDEFrameworks-19466000000000000~20 (13A1030d)
App Item ID: 497799835
App External ID: 844664792
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2021-11-05 16:39:48.5109 +0200
OS Version: macOS 12.0.1 (21A559)
Report Version: 12
Anonymous UUID: D316D717-0D90-660E-6F7F-7597A80EED19
Time Awake Since Boot: 25000 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:
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[__NSArrayM allKeys]: unrecognized selector sent to instance 0x7fef2821dc60
Problem did fix. While reading Info.plist Xcode 13 did crash on 'App Transport Security Settings' key parsing. I removed it from .plist & manually recreated 'App Transport Security Settings' key hierarchy. Strange situation...
I created an archive for any project in Xcode 9. Then I try to create an ipa file (either development or ad-hoc). I first try to export the archive. Then I select either Development or AdHoc Distribution. The Xcode 9 crashes. I even added 'compile bitcode' option in the app's info.plist. I am able to create an ipa with the same project in Xcode 8.
Bug report :
Process: Xcode [6854]
Path: /Applications/Xcode9.0.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.0 (13247)
Build Info: IDEFrameworks-13247000000000000~26
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [6854]
User ID: 501
Date/Time: 2017-11-07 16:13:32.644 +0530
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: E7160691-62F7-DE54-A767-EF456EC37FEC
Time Awake Since Boot: 10000 seconds
System Integrity Protection: enabled
Crashed Thread: 15 Dispatch queue: ConcurrentQueue: -[IDEDistributionPackagingStepViewController viewDidInstall]_block_invoke
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
VM Regions Near 0x20:
-->
__TEXT 000000010b094000-000000010b096000 [ 8K] r-x/rwx SM=COW /Applications/Xcode9.0.app/Contents/MacOS/Xcode
Application Specific Information:
ProductBuildVersion: 9A235
....
In my case this was due to a pending Apple license agreement that was causing Xcode's automatic provisioning to crash.
Log onto developer.apple.com and make sure you do not have a license update pending agreement.
Expired provision profile was the cause of this same issue. After renewal, everything is now working.
The "Apple Developer Program License Agreement" has been updated.
So I have to accept pending License Agreement.
When I select Manual manage signing and try to download profile then I got following error
Try export with Manually first after that you can comeback with Automatically. I think this one fault when apple server return data for exporting process. It can be reset the process with manually option.
Yesterday, I can run my project perfectly in xcode, but today when I open my project the xcode always quit unexpectedly. And my developer account expires today, and this app is built under my this expired account. I'm wondering is this the reason why the xcode quite unexpectedly?
Process: Xcode [1352]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.1 (6604)
Build Info: IDEFrameworks-6604000000000000~2
App Item ID: 497799835
App External ID: 752282650
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [1352]
User ID: 501
Date/Time: 2014-11-23 00:39:18.946 -0500
OS Version: Mac OS X 10.10.1 (14B25)
Report Version: 11
Anonymous UUID: 621A224C-863D-FF01-0409-8E03669992FE
Sleep/Wake UUID: 9C560417-B1A6-47C5-AA0D-7E5C5331F6FD
Time Awake Since Boot: 5500 seconds
Time Since Wake: 1800 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 6A1052d
UNCAUGHT EXCEPTION (NSInvalidArgumentException): The index 9223372036854771711 is invalid
UserInfo: (null)
Hints: None
Backtrace:
From what I can see of the crash log, its more likely just an invalid value somewhere. That index is a 64 bit number that is very big (0x7FFFFFFFFFFFEFFF) and would be in invalid if it was somehow passed to an array or something.
Its best to run /Applications/Utilities/Console and see if there there are any errors that came from Xcode. They may have more details.
Usually, if an account expires, associate apps are removed from the store and you can't access resources on the developer portal. I have not heard of Xcode stopping before.
I've just migrated from Xcode 5.0.2 to 5.1.1 and I'm always getting an exception just when the app is opening and I'm really puzzled with it because I don't know what's happening, I need that version of xcode to test with my device iphone 5s.
This is the exception I'm getting:
Process: Xcode [7340]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 5.1.1 (5085)
Build Info: IDEFrameworks-5085000000000000~10
App Item ID: 497799835
App External ID: 520942841
Code Type: X86-64 (Native)
Parent Process: launchd [333]
Responsible: Xcode [7340]
User ID: 501
Date/Time: 2014-07-15 19:28:54.658 +0200
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: 044342C4-F689-0487-D2A8-77FEE8704AB4
Sleep/Wake UUID: 0C4C242B-6F81-466E-A7E6-FF91D0887C3F
Crashed Thread: 0 Dispatch queue: IDESourceControlTree Change Queue
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
ProductBuildVersion: 5B1008
ASSERTION FAILURE in /SourceCache/DVTFrameworks/DVTFrameworks-5074/DVTFoundation/Protocols/DVTInvalidation.m:254
Details: <IDESourceControlRepository, 0x7fe39514ff20> was never invalidated.
Open Xcode's preferences and get rid of all repositories in the Accounts pane.
If that's not sufficient, you may have to take this project out of source control completely.
Xcode 5.0.1 crashes when I build and run an empty ios app.
How i can solve this?
And the Log are as follows:
Version: 5.0.1 (3335.23)
Build Info: IDEApplication-3335023000000000~2
Code Type: X86-64 (Native)
Parent Process: launchd [192]
Responsible: Xcode [600]
User ID: 501
Date/Time: 2014-03-17 19:36:09.442 +0800
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: FC8475E3-7090-9E79-B7E3-A079F66EB066
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending performRunAction: to <IDERunPauseContinueToolbarButton: 0x7fb1ae158e50> from <IDERunPauseContinueToolbarButton: 0x7fb1ae158e50>
ProductBuildVersion: 5A2053
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'workerClass' of extension 'Xcode.DebuggerFoundation.Debugger.LLDB' in plug-in 'com.apple.dt.dbg.DebuggerLLDB'
Follow the below steps:
Close all open applications
relaunch Finder
run sudo find / -name ".DS_Store" -exec rm {} \; This removes all .DS_Store old files on the computer
Launch finder and set default view to "LIST VIEW" as shown here: http://macs.about.com/od/usingyourmac/ss/Setting-Finder-Views-For-Folders-And-Sub-Folders_2.htm
Rerun the offending application and file chooser works
Hope this will work for you.
I downloaded the Mavericks OS from the App Store and reinstall my OS which was also Mavericks OS before.
After I finished it, every user files and apps just remain intact and the most important,
I solve the crashing problem.
Hope this will help others who have similar problem.