question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After upgrading to 0.59.4 from 0.57.7, XCode is crashing while opening the project.

See original GitHub issue

I upgraded my react native app from 0.57.7 to 0.59.4 and somehow I made it work for Android but for IOS, it is crashing Xcode everytime I open the app. I’m adding the error log

React Native version: 0.59.4

Steps To Reproduce

  1. Upgrade app from 0.57.7 to 0.59.4
  2. Open the app in Xcode

Describe what you expected to happen: Xcode should open normally

Snack, code example, screenshot, or link to a repository:

`Crashed Thread:        0  Dispatch queue: IDEContainer - uniquing lock

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
ProductBuildVersion: 10E125
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-14490.82/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/DataModel/Containers/PBXContainerItemProxy.m:136
Details:  _containerPortal is NULL
Object:   <PBXContainerItemProxy: 0x7fe218ca1600>
Method:   -remoteContainer
Thread:   <NSThread: 0x7fe21441ad40>{number = 1, name = main}
Hints:   
 
Backtrace:
  0   -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
  1   _DVTAssertionHandler (in DVTFoundation)
  2   _DVTAssertionFailureHandler (in DVTFoundation)
  3   -[PBXContainerItemProxy remoteContainer] (in DevToolsCore)
  4   -[PBXContainerItemProxy remoteContainerItem] (in DevToolsCore)
  5   -[PBXReferenceProxy sourceTree] (in DevToolsCore)
  6   -[PBXReference addNotifications] (in DevToolsCore)
  7   -[PBXReference awakeFromPListUnarchiver:] (in DevToolsCore)
  8   -[PBXReferenceProxy awakeFromPListUnarchiver:] (in DevToolsCore)
  9   -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
 10   +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
 11   -[PBXFileReference loadedContainer] (in DevToolsCore)
 12   -[PBXContainerItemProxy remoteContainer] (in DevToolsCore)
 13   -[PBXContainerItemProxy remoteContainerItem] (in DevToolsCore)
 14   -[PBXReferenceProxy sourceTree] (in DevToolsCore)
 15   -[PBXReference addNotifications] (in DevToolsCore)
 16   -[PBXReference awakeFromPListUnarchiver:] (in DevToolsCore)
 17   -[PBXReferenceProxy awakeFromPListUnarchiver:] (in DevToolsCore)
 18   -[PBXPListUnarchiver decodeRootObject] (in DevToolsCore)
 19   +[PBXProject projectWithFile:errorHandler:readOnly:] (in DevToolsCore)
 20   -[Xcode3Project initWithFilePath:extension:workspace:options:error:] (in DevToolsCore)
 21   __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke_2 (in IDEFoundation)
 22   _dispatch_client_callout (in libdispatch.dylib)
 23   _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
 24   DVTDispatchBarrierSync (in DVTFoundation)
 25   -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
 26   __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke (in IDEFoundation)
 27   __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke (in DVTFoundation)
 28   -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)
 29   -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
 30   +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation)
 31   +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
 32   -[IDEFileReference _recalculateReferencedContainer] (in IDEFoundation)
 33   -[IDEFileReference referencedContainer] (in IDEFoundation)
 34   -[IDEContainer _resolveFileReference:] (in IDEFoundation)
 35   __67-[IDEContainer initWithFilePath:extension:workspace:options:error:]_block_invoke.414 (in IDEFoundation)
 36   -[_DVTTimeSlicedMainThreadUnorderedUniquingWorkQueue _processWorkItemsWithDeadline:] (in DVTFoundation)
 37   -[DVTTimeSlicedMainThreadWorkQueue _processWithDeadline:] (in DVTFoundation)
 38   -[_DVTTimeSlicedMainThreadActiveWorkQueues _processWorkQueuesOnDeadline] (in DVTFoundation)
 39   __NSFireDelayedPerform (in Foundation)
 40   __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
 41   __CFRunLoopDoTimer (in CoreFoundation)
 42   __CFRunLoopDoTimers (in CoreFoundation)
 43   __CFRunLoopRun (in CoreFoundation)
 44   CFRunLoopRunSpecific (in CoreFoundation)
 45   RunCurrentEventLoopInMode (in HIToolbox)
 46   ReceiveNextEventCommon (in HIToolbox)
 47   _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
 48   _DPSNextEvent (in AppKit)
 49   -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
 50   -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
 51   -[NSApplication run] (in AppKit)
 52   NSApplicationMain (in AppKit)
 53   main (in Xcode)
 54   start (in libdyld.dylib)
 
abort() called

Application Specific Signatures:`

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
waheedakhtercommented, Oct 14, 2019

Unfortunately, we won’t be able to help since this related to quite old RN version.

I upgraded to react native version 0.60.5 and I am also getting the same error with xcode. can’t figure out solution. what would you say now?

2reactions
radko93commented, Oct 8, 2019

Unfortunately, we won’t be able to help since this related to quite old RN version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode is crashing on startup. Any … | Apple Developer Forums
A workaround for me is to open a different project, and then File -> Open Recent, so I'm not dead in the water,...
Read more >
Xcode Crashing When Opening Project File - Stack Overflow
The crash is generally a sign the project file has been corrupted. Here's a list of possible things you can do to try...
Read more >
Xcode Keeps Crashing - Journal - CodeCrew Community
When Xcode gets a bit cranky (we all see that from time to time) try cleaning your Build folder - Shift + Command...
Read more >
xcode 5.0.1 and 5.0.2 crashing when creating new project ...
When I open Xcode after the crash I can go to File -> Open and then open the earlier created project. I am...
Read more >
Xcode crashes every time you open it – and how to fix it
open a Finder window and navigate to your project · right-click on the .xcodeproj file (it's a package actually) · select Show Package...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found