I have a Mac Pro and a Macbook Pro both working on the same project stored at GitHub. When I try to sync the Mac Pro using GitHub for Mac I see that I've somehow now got two branches, Head and Master. When I try to merge them, I get this error:
Failed to lookup reference. Failed to update loose reference.
-entry not found in hash table.
When I try to sync from the MacBook Pro I get this error:
Uncommitted changes. Please commit your changes before syncing.
There is a DELETED Icon/r line in the underlying box. I have no recollection of deleting an icon. When I try to commit this "change" I get this error:
On branch master
Your branch is ahead of 'origin/master' by 2 commits.
Changes not staged for commit:
(use "git add/rm ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working
directory)
deleted: "Icon\r"
no changes added to commit (use "git add" and/or "git commit -a")
If I try to sync using Xcode I get this error:
The working copy "Graphing-Calculator" failed to commit files. error:
pathspec 'Icon\r' did not match any file(s) known to git.
I'm really stumped. Clearly I've done something wrong, don't know what that was, and don't know how to fix it. Guidance appreciated.
Update
When I try to roll back two commits on the MBP I get this error:
(
0 GitHub 0x0000000100096531 -[GHApplication presentError:] + 445
1 libdispatch.dylib 0x00007fff9277d90a _dispatch_call_block_and_release + 18
2 libdispatch.dylib 0x00007fff9277f77a _dispatch_main_queue_callback_4CF + 308
3 CoreFoundation 0x00007fff90564c0c __CFRunLoopRun + 1724
4 CoreFoundation 0x00007fff90564216 CFRunLoopRunSpecific + 230
5 HIToolbox 0x00007fff90f5c4ff RunCurrentEventLoopInMode + 277
6 HIToolbox 0x00007fff90f63c21 ReceiveNextEventCommon + 355
7 HIToolbox 0x00007fff90f63aae BlockUntilNextEventMatchingListInMode + 62
8 AppKit 0x00007fff913dc191 _DPSNextEvent + 659
9 AppKit 0x00007fff913dba95 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
10 AppKit 0x00007fff913d83d6 -[NSApplication run] + 463
11 AppKit 0x00007fff9165652a NSApplicationMain + 867
12 GitHub 0x00000001000014e4 start + 52
13 ??? 0x0000000000000002 0x0 + 2
)
Update
I'm pretty sure I've condensed it down to this: Git thinks the file Icon\r was deleted and wants to commit this change, but cannot find the file Icon\r. If I try to discard the change, Git gives me the error, "Icon\r did not match any file(s) known to git." How to proceed?
Thanks for the pointer to the ^M^M .gitignore solution.
To clear these entries from your working repo, without going through the process of creating a new repository, just do 'git commit -a'. This should delete the "/Icon\r" entries out of your git index.
Related
I recently submitted an app update to the App Store. The app runs well in Xcode (on device and simulator) for all versions of iOS including iOS 13+. I was surprised that it was rejected for crashing at startup. I checked using a Testflight build and it only crashed when ran on a device with iOS 13+. I could not replicate crashes from Xcode as it only crashes on the builds from Tesflight.
I've been researching online and see that this is not an uncommon issue, however, I can't identify what's the issue in my case. I've tried changing the build settings in Xcode and building from an older version of Xcode (10.2.1, doesn't work bc I use newer classes not compatible with anything lower than Xcode 11). I also tried changing the swift compiler optimization level to zero in the build settings. To upload a build to Tesflight, I am exporting the archive and uploading to iTunes Connect using Apple's Transporter app.
Using the crash log and podfile description below, can anyone identify the issue and/or make a suggestion on what's going wrong in the build.
Crash Log
OS Version: iPhone OS 13.2.3 (17B111)
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
libsystem_kernel.dylib 0x00000001baaf7ec4 __pthread_kill + 8
libsystem_pthread.dylib 0x00000001baa13774 pthread_kill$VARIANT$mp + 112
libsystem_c.dylib 0x00000001ba967844 abort + 100
libc++abi.dylib 0x00000001baac07d4 __cxa_bad_cast + 0
libc++abi.dylib 0x00000001baac09c4 demangling_unexpected_handler+ 6596 () + 0
libobjc.A.dylib 0x00000001baa28258 _objc_terminate+ 25176 () + 124
libc++abi.dylib 0x00000001baacd304 std::__terminate(void (*)+ 58116 ()) + 16
libc++abi.dylib 0x00000001baacd29c std::terminate+ 58012 () + 44
libdispatch.dylib 0x00000001ba9cd198 _dispatch_client_callout + 36
libdispatch.dylib 0x00000001ba975fd8 _dispatch_block_invoke_direct$VARIANT$mp + 224
FrontBoardServices 0x00000001bfe4e4c8__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 40
FrontBoardServices 0x00000001bfe4e194 -[FBSSerialQueue _queue_performNextIfPossible] + 404
FrontBoardServices 0x00000001bfe4e6bc -[FBSSerialQueue _performNextFromRunLoopSource] + 28
CoreFoundation 0x00000001bac7d7c4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
CoreFoundation 0x00000001bac7d71c __CFRunLoopDoSource0 + 80
CoreFoundation 0x00000001bac7ceb4 __CFRunLoopDoSources0 + 180
CoreFoundation 0x00000001bac78000 __CFRunLoopRun + 1080
CoreFoundation 0x00000001bac778a0 CFRunLoopRunSpecific + 464
GraphicsServices 0x00000001c4bcf328 GSEventRunModal + 104
UIKitCore 0x00000001bed68740 UIApplicationMain + 1936
OnStation 0x0000000100a553ac main + 103340 (main.m:14)
libdyld.dylib 0x00000001bab02360 start + 4
Podfile
pod 'AWSCore'
pod 'AWSSNS'
pod 'AWSS3'
pod 'AWSCognito'
pod 'AWSCognitoIdentityProvider'
pod 'AWSCognitoSync'
pod 'AWSDynamoDB'
pod 'Flurry-iOS-SDK/FlurrySDK'
pod 'ArcGIS-Runtime-SDK-iOS', '100.2.1'
pod 'SVProgressHUD'
pod 'UICKeyChainStore'
pod 'RangeSeekSlider'
pod 'PubNub', '~> 4'
pod 'MessageKit'
I’m going to guess that this is due to a situation parallel to
iOS11 WKWebview crash due to NSInvalidUnarchiveOperationException
In other words, I'm guessing that you have something in your storyboard that comes from another framework that you need to link explicitly. That sort of thing often doesn’t crash from Xcode but does crash when launching independently.
I upgraded to XCode 8, and I am going through hell of being able to run my tests sometimes... For example, I just was testing some code, and was able to run my tests 3 times in a row... and then the 4th time I got:
dyld: could not load inserted library 'PLATFORMS/iPhoneOS.platform/Developer/Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection' because image not found
*** If you believe this error represents a bug, please attach the log file at /Users/patrick/Library/Developer/Xcode/DerivedData/MyApp-hjfppqmgxqrprucknvwtakynpqxs/Logs/Test/2B6C2EAE-5C13-40C9-BACE-3A00AA74F3EF/Session-UnitTests-2016-09-20_124123-gk3pW0.log
I have rebooted my iOS device, rebooted my computer, deleted derrived data, etc... It will no longer run tests. ARRRGH!!!!
UPDATE
I should mention, I am trying to run tests on my iPad, I can't run tests on the simulator because I have too much code having to do with NEON intrinsics, and so the simulator wont run.
But what does seem to work is, when this happens, switch to build tests on my iPhone, then it when it builds, it just says "running tests" and the spinner spins forever, but no tests are actually running... I can actually tap on my app and interact with it, which is usually not the behavior I get when running tests... Anyway I then stopped the build, switched back to my iPad and now tests run again.
I get this error consistently with XCode 8.0 running on my iPad (Version 10.0.2 (14A456)) when I run test code that causes an uncaught exception in the code under test. There may be other examples, but it happens any time the code under test fails catastrophically.
When the unit test fails with an exception, XCode does not recover properly.
I believe this is a problem with XCode; this answer provides a workaround. The unit test will fail at the exception, and subsequent runs produce the 'image not found' error.
The simplest recovery I've found is the following:
Set device target to Generic iOS Device
Disconnect my iPad
Reboot the iPad
Connect everything back together
Here is an example failure that demonstrates the problem;
Notice that the core issue in this example is that I have written a bad unit test; I'm passing a nil parameter to a method that is subsequently used to try adding a nil object to a dictionary.
Update: for the sake of accuracy, the issue was that I was passing an immutable dictionary as a parameter when a mutable one was expected, thus producing the 'unrecognized selector' error. In any case, the exception is what causes XCode to behave badly.
Assertions: failed: caught "NSInvalidArgumentException", "-[__NSDictionaryI setObject:forKey:]: unrecognized selector sent to instance 0x1818f200"
(
0 CoreFoundation 0x1dd89e1f <redacted> + 154
1 libobjc.A.dylib 0x1cfef077 objc_exception_throw + 38
2 CoreFoundation 0x1dd8f515 <redacted> + 0
3 CoreFoundation 0x1dd8d589 <redacted> + 700
4 CoreFoundation 0x1dcb2f08 _CF_forwarding_prep_0 + 24
5 tDefense 0x000cd299 +[PlayingPiece addPlayingPiece:atLocation:onBoard:] + 326
6 tDefense 0x000cd5ad +[PlayingPiece addNewPiece:atLocation:onBoard:] + 154
7 tDefenseTests 0x00410777 -[PlayFieldTests testGetNeighbors] + 4594
8 CoreFoundation 0x1dd8e864 <redacted> + 68
9 CoreFoundation 0x1dcaf349 <redacted> + 294
10 XCTest 0x00307de5 __24-[XCTestCase invokeTest]_block_invoke_2 + 472
11 XCTest 0x0033b0dd -[XCTestContext performInScope:] + 312
12 XCTest 0x00307c07 -[XCTestCase invokeTest] + 296
13 XCTest 0x00308439 -[XCTestCase performTest:] + 560
14 XCTest 0x0030578d -[XCTestSuite performTest:] + 520
15 XCTest 0x0030578d -[XCTestSuite performTest:] + 520
16 XCTest 0x0030578d -[XCTestSuite performTest:] + 520
17 XCTest 0x002f1d55 __25-[XCTestDriver _runSuite]_block_invoke + 52
18 XCTest 0x00312325 -[XCTestObservationCenter _observeTestExecutionForBlock:] + 628
19 XCTest 0x002f1bed -[XCTestDriver _runSuite] + 512
20 XCTest 0x002f29b7 -[XCTestDriver _checkForTestManager] + 300
21 XCTest 0x0033c55b _XCTestMain + 690
22 CoreFoundation 0x1dd45bc3 <redacted> + 10
23 CoreFoundation 0x1dd455a7 <redacted> + 230
24 CoreFoundation 0x1dd43a61 <redacted> + 752
25 CoreFoundation 0x1dc93073 CFRunLoopRunSpecific + 486
26 CoreFoundation 0x1dc92e81 CFRunLoopRunInMode + 104
27 GraphicsServices 0x1f43bbfd GSEventRunModal + 156
28 UIKit 0x22e34acf <redacted> + 574
29 UIKit 0x22e2f201 UIApplicationMain + 150
30 tDefense 0x000d690f main + 106
31 libdyld.dylib 0x1d45e50b <redacted> + 2
)
File: <unknown>
I was having exactly the same problem after upgrading to Xcode 8 / Swift 2.3. One of deleting derived data, rebooting the phone and closing and re-opening Xcode just fixed it.
I just got a new Mac and downloaded Xcode so everything is fresh. On opening Xcode for the first time I accidentally told it to open my src/ folder instead of /src/myLatestProject so my hunch is Xcode went and tried to open every project in my src/ directory (hundreds). It beachballed for a few seconds and then crashed. The issue now is that Xcode seems to have remembered that I want that multitude of projects opened at app startup or it's trying to parse hundreds of git repos and I'm stuck in open/beachball/crash purgatory. How can I reset Xcode's prefs so it won't try to be so helpful and open every bit of source code on my computer?
EDIT: I've confirmed it's only crashing for my account. If I create a test user and open Xcode, everything is fine.
Application Specific Information:
ProductBuildVersion: 5A3005
ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Xcode3Model/Xcode3OCUnitTestableDataSource.m:191
Details: ([_indexableIdsToTestableTokens objectForKey:indexableIdentifier]) should be nil, but it is <Xcode3OCUnitTestableDataSourceToken: 0x7fe73b531ae0>
Object: <Xcode3OCUnitTestableDataSource: 0x7fe7359c79f0>
Method: -setTestableToken:indexableIdentifier:
Thread: <NSThread: 0x7fe732415570>{name = (null), num = 1}
Hints: None
Backtrace:
0 0x0000000109575ea8 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:messageFormat:arguments:] (in IDEKit)
1 0x00000001082fc7a5 _DVTAssertionHandler (in DVTFoundation)
2 0x00000001082fcad4 _DVTAssertionFailureHandler (in DVTFoundation)
3 0x000000010e8ef3ca -[Xcode3OCUnitTestableDataSource setTestableToken:indexableIdentifier:] (in DevToolsCore)
4 0x000000010e8f2261 -[Xcode3OCUnitTestableDataSourceToken _initWithDataSource:indexableIdentifier:callbackBlock:] (in DevToolsCore)
5 0x000000010e8ef87d +[Xcode3OCUnitTestableDataSource testableDataSourceTokenForWorkspace:indexableIdentifier:callbackBlock:] (in DevToolsCore)
6 0x000000010ea0a464 -[Xcode3OCUnitTestable initWithTarget:] (in DevToolsCore)
7 0x000000010e9d7b69 -[Xcode3Project _updateTestablesForTargetProxies:] (in DevToolsCore)
8 0x000000010e9d074d -[Xcode3Project syncTargetProxiesWithProjectTargets] (in DevToolsCore)
9 0x000000010830e618 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:withHandlerBlock:] (in DVTFoundation)
10 0x000000010828e5d3 -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] (in DVTFoundation)
11 0x000000010e9d1815 -[Xcode3Project initWithFilePath:extension:workspace:error:] (in DevToolsCore)
12 0x0000000108d899ef __73+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:]_block_invoke_2 (in IDEFoundation)
13 0x00007fff91d9d2ad _dispatch_client_callout (in libdispatch.dylib)
14 0x00007fff91d9e166 _dispatch_barrier_sync_f_invoke (in libdispatch.dylib)
15 0x000000010833a0ec DVTSyncPerformBlock (in DVTFoundation)
16 0x000000010825dfe3 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
17 0x0000000108d893f5 __73+[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:]_block_invoke (in IDEFoundation)
18 0x000000010830f2ed -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
19 0x0000000108cc9579 +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
20 0x0000000108d9eb40 -[IDEFileReference _recalculateReferencedContainer] (in IDEFoundation)
21 0x0000000108cdcf48 -[IDEFileReference referencedContainer] (in IDEFoundation)
22 0x0000000108ce4200 -[IDEContainerQuery _traverseContainerGraphObject:forDeletion:checkedContainers:insertedMatches:deletedMatches:] (in IDEFoundation)
23 0x0000000108ce617b -[IDEContainerQuery _traverseContainerGraphObjects:forDeletion:insertedMatches:deletedMatches:] (in IDEFoundation)
24 0x0000000108ce5ec4 -[IDEContainerQuery _objectsDidChange:] (in IDEFoundation)
25 0x00007fff8d6eefcc __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
26 0x00007fff8d5e2c5d _CFXNotificationPost (in CoreFoundation)
27 0x00007fff8a3c14aa -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
28 0x00000001082a7085 -[DVTModelObjectGraph _coalescingTick] (in DVTFoundation)
29 0x0000000108cd1912 -[IDEGroup _setSubitems:] (in IDEFoundation)
30 0x0000000108cdee30 -[IDEFolder _updateSubitemsWithFileNames:] (in IDEFoundation)
31 0x0000000108d8eedb __32-[IDEFolder _filePathDidChange:]_block_invoke94 (in IDEFoundation)
32 0x0000000108339fdc __DVTAsyncPerformBlock_block_invoke (in DVTFoundation)
33 0x00007fff8d6517cc __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation)
34 0x00007fff8d642ee5 __CFRunLoopDoBlocks (in CoreFoundation)
35 0x00007fff8d64282b __CFRunLoopRun (in CoreFoundation)
36 0x00007fff8d642275 CFRunLoopRunSpecific (in CoreFoundation)
37 0x00007fff8b8aef0d RunCurrentEventLoopInMode (in HIToolbox)
38 0x00007fff8b8aecb7 ReceiveNextEventCommon (in HIToolbox)
39 0x00007fff8b8aeabc _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
40 0x00007fff8ad0e28e _DPSNextEvent (in AppKit)
41 0x00007fff8ad0d8db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit)
42 0x00007fff8ad019cc -[NSApplication run] (in AppKit)
43 0x00007fff8acec803 NSApplicationMain (in AppKit)
44 0x00007fff89ff25fd start (in libdyld.dylib)
Not sure which one fixed it but I ran the following in terminal and now it works again:
cd ~/Library
sudo rm -rf './Preferences/com.apple.dt.Xcode.plist' './Autosave Information/com.apple.dt.Xcode.plist' './Autosave Information/Unsaved Xcode Document.xcworkspace' './Caches/com.apple.dt.Xcode'
WARNING: Note this may delete other preferences such as key bindings so beware if you have a lot of customization of your xcode environment.
Open finder and go to following path and delete the folders made their, these are the folders made whenever we open any project in xcode temporarily:
/Users/MyMac/Library/Developer/Xcode/DerivedData/
On my Xcode6/Yosemite mac there is no "Autosave Information" folder, so I deleted ~/Library/Saved Application State/com.apple.dt.Xcode.savedState folder instead and it stopped crashing.
If you have any open swift file in a new window (for example when you double click on a .swift file in xCode and it opens in a new window) when xCode opens this might be an issue. I think I had this window opened when closing xCode, then when opening xCode this window opens up again and for some reason crashes xCode. Try to close this open window quickly before it crashes. Strange, but that worked for me.
The scenario to make Xcode crashing was a bit different on my side. Indeed I had the same callstack error:
Application Specific Information:
ProductBuildVersion: 5A3005
ASSERTION FAILURE in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3575/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/Xcode3Model/Xcode3OCUnitTestableDataSource.m:191
Details: ([_indexableIdsToTestableTokens objectForKey:indexableIdentifier]) should be nil, but it is <Xcode3OCUnitTestableDataSourceToken: 0x7fe73b531ae0>
Object: <Xcode3OCUnitTestableDataSource: 0x7fe7359c79f0>
Method: -setTestableToken:indexableIdentifier:
Thread: <NSThread: 0x7fe732415570>{name = (null), num = 1}
Hints: None
But I had to duplicate an existing project (.xcodeproj file) in order to have in my workspace an app depending on other projects (Target Dependencies in Build Phases) in my workspace (used as a debug app) and an app not depending on anything only linking to the resulting build output of the corresponding projects target (in my case frameworks inside Link Binary With Libraries in Build Phases). The issue was that each time I imported the duplicated project to my workspace it crashed Xcode... As the crash stack trace was talking about test things I just went through the project.pbxproj and removed all occurrences of test string in that file (well I tool care about section to avoid corrupting my file).
Something was going wrong with the duplicated xctest target inside the prject. Once I tried again to import it again in my workspace it worked fine.
Hope it can help
I have removed entirely the folder Library/Developer :
Close XCode
rm -r /Library/Developer
And say yes for every files
No solution worked for me in case you have workspace . But i found out one ..
delete workspace file if you have one . install pod again using "pod install" in terminal (need to move to your project folder).
open workspace again .. and it will solve this issue
You could also do one thing (if you are using pods) :-
Right click on your xcworkspace
click on 'Show Package Contents'
Delete xcuserdata folder
relaunch xcode
I added a Git repo as a submodule to my existing project which is also Git managed, I did these in command line, and I use GitBox to manage my projects, then when I open GitBox, it just crashed, I tried many times and even restarted the machine.
Application Specific Information:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* setObjectForKey: object
cannot be nil (key: _NSTaskExecutablePath)' abort() called terminate
called throwing an exception
Application Specific Backtrace 1: 0 CoreFoundation
0x00007fff92a3c716 __exceptionPreprocess + 198 1 libobjc.A.dylib
0x00007fff8f2b3470 objc_exception_throw + 43 2 CoreFoundation
0x00007fff92acaf07 -[__NSDictionaryM setObject:forKey:] + 135 3
Foundation 0x00007fff8f6cd732
-[NSConcreteTask setLaunchPath:] + 194 4 Gitbox 0x000000010001d779 Gitbox + 120697 5 Gitbox
0x000000010001cfb7 Gitbox + 118711 6 Gitbox
0x000000010005b6eb Gitbox + 374507 7 Gitbox
0x000000010000687b Gitbox + 26747 8 Gitbox
0x000000010005a3cc Gitbox + 369612 9 Gitbox
0x000000010005a6cc Gitbox + 370380 10 Gitbox
0x000000010001c7ec Gitbox + 116716 11 libdispatch.dylib
0x00007fff8e881f3d _dispatch_call_block_and_release + 15 12
libdispatch.dylib 0x00007fff8e87e0fa
_dispatch_client_callout + 8 13 libdispatch.dylib 0x00007fff8e883104 _dispatch_main_queue_callback_4CF + 275 14
CoreFoundation 0x00007fff929de81e __CFRunLoopRun
+ 1614 15 CoreFoundation 0x00007fff929dddd2 CFRunLoopRunSpecific + 290 16 HIToolbox
0x00007fff98145774 RunCurrentEventLoopInMode + 209 17 HIToolbox
0x00007fff98145512 ReceiveNextEventCommon + 356 18 HIToolbox
0x00007fff981453a3 BlockUntilNextEventMatchingListInMode + 62 19
AppKit 0x00007fff93d29fa3 _DPSNextEvent +
685 20 AppKit 0x00007fff93d29862
-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 21 AppKit 0x00007fff93d20c03
-[NSApplication run] + 517 22 AppKit 0x00007fff93cc5656 NSApplicationMain + 869 23 Gitbox
0x00000001000028c1 Gitbox + 10433 24 Gitbox
0x0000000100001d94 Gitbox + 7572 25 ???
0x0000000000000002 0x0 + 2
I wanted to remove the Gitbox settings and make it as a newly installed app, but did not find it. What else can I try?
Thanks!
Get an uninstallation app (e.g. AppCleaner) and remove everything it finds but the gitbox app itself.
Then relaunch gitbox - unfortunately you will have to re-add the repos you were working with to gitbox but this will get you past the crash.
Deleting ~/Library/Preferences/com.oleganza.gitbox.plist resolved the problem here.
Had similar problems with gitbox after xcode updates. This worked for me, these directions are from the app author:
Quit Gitbox.
Delete ~/Library/Preferences/com.oleganza.gitbox.plist
Run in Terminal: defaults delete com.oleganza.gitbox
Run in Terminal: git config --global push.default matching
Open Gitbox.
You may also need to run "git config push.default matching" in your repository if you have other value for "push.default" there.
No need to uninstall Gitbox and lose your repo list - just delete Library/Saved\ Application\ State/com.oleganza.gitbox.savedState/
Got the new Retina MacBook and it has not been playing nice with xCode. If i make a new project it works, but if i ty triggering the assistant editor it will freeze. If i save a new project and reopen it, it will freeze. I did install the 4.5 DP and uninstalled it and the latest nonbeta version of xcode and the problem still persists. Anyone know what could be the issue? If i make a new user account xcode is behaving normally. Anyone know of a fix? Crash large too large for me to post.
Date/Time: 2012-06-30 03:10:29 -0700
OS Version: 10.7.4 (Build 11E2620)
Architecture: x86_64
Report Version: 9
Command: Xcode
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Version: 4.3.3 (1178)
Build Version: 3
Project Name: IDEApplication
Source Version: 1178000000000000
App Item ID: 497799835
App External ID: 8553856
Parent: launchd [111]
PID: 234
Event: hang
Duration: 1.76s
Steps: 18 (100ms sampling interval)
Pageins: 44
Pageouts: 0
Process: Xcode [234]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Architecture: x86_64
UID: 501
Thread 0x810 DispatchQueue 1
User stack:
18 ??? (in Xcode) [0x107b73eec]
18 NSApplicationMain + 867 (in AppKit) [0x7fff85edf244]
18 -[NSApplication run] + 555 (in AppKit) [0x7fff85c630c6]
18 -[IDEApplication sendEvent:] + 366 (in IDEKit) [0x1085c2dd1]
18 -[NSApplication sendEvent:] + 4282 (in AppKit) [0x7fff85ccc536]
18 -[NSApplication _handleKeyEquivalent:] + 526 (in AppKit) [0x7fff85dd3175]
18 -[NSMenu performKeyEquivalent:] + 281 (in AppKit) [0x7fff85dd4524]
18 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125 (in AppKit) [0x7fff85e56932]
18 -[NSMenuItem _corePerformAction] + 399 (in AppKit) [0x7fff85e56bfb]
18 -[IDEApplication sendAction:to:from:] + 154 (in IDEKit) [0x1085c7096]
18 -[DVTApplication sendAction:to:from:] + 318 (in DVTKit) [0x107e76866]
18 -[NSApplication sendAction:to:from:] + 139 (in AppKit) [0x7fff85d69f7e]
18 -[NSObject performSelector:withObject:] + 61 (in CoreFoundation) [0x7fff8a15270d]
18 -[IDEWorkspaceTabController _changeToEditorMode:] + 361 (in IDEKit) [0x108728088]
18 _NSSetIntValueAndNotify + 259 (in Foundation) [0x7fff86f8353f]
18 -[IDEEditorArea setEditorMode:] + 384 (in IDEKit) [0x108604a61]
18 -[IDEEditorArea _refreshEditorContextsAndPreserveCurrentEditorHistoryStack:] + 642 (in IDEKit) [0x108604d8e]
18 +[DVTLayoutView_ML _recursivelyLayoutSubviewsOfView:populatingSetWithLaidOutViews:] + 108 (in DVTKit) [0x107e858ec]
18 +[DVTLayoutView_ML
For me, the solution was simple:
Close Xcode
Delete the following folders/files from myProject.xcodeproj (or .xcworkspace if you're using cocoapods) (right click on the file and choose “Show Package Contents”)
/xcuserdata
/project.xcworkspace
Reopen Xcode and enjoy
The crash is occurring due to a corruption in project's userdata content.
Also, you should note that after deleting those files, the window size and position will reset and the opened tabs will be all closed.
I experienced similar problems on my Retina MacBook. The workaround is to specify "Open in Low Resolution" for Xcode in the Finder. From http://support.apple.com/kb/HT5266:
Quit the application if it is currently open.
In the Finder, choose Applications from the Go menu.
In the Applications folder that opens, click the application's icon so it is highlighted.
Choose Get Info from the File menu.
Place a checkmark next to "Open in Low Resolution" to enable Low Resolution mode.
Close the window and double click the Application to reopen it.
This does have an impact on text quality, though it's not awful (subjective). Hopefully Apple will update Xcode soon.
I am facing the same problem .... I solve it after make changes as per screenshot -
it works for me.