Post

Replies

Boosts

Views

Activity

How can I resolve these preview errors?
Sometimes when I reopen a project the component preview pane fails with the following error message: NoBuildableEntriesError: active scheme does not build this file Select a scheme that builds a target which contains the current file, or add this file to a target that is built by the current scheme. How can I resolve this and prevent it from happening again?
0
0
382
Dec ’20
Xcode is crashing on startup. Any workarounds?
Hi, When I open an existing project (following https://developer.apple.com/tutorials/swiftui/creating-and-combining-views) in Xcode, it crashes immediately with this "(tabController) should not be nil." error: (tabController) should not be nil. Process:&#9;&#9;&#9;&#9;&#9;&#9;&#9; Xcode [11567] Path:&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;&#9;/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:&#9;&#9;&#9;&#9;&#9;&#9;com.apple.dt.Xcode Version:&#9;&#9;&#9;&#9;&#9;&#9;&#9; 12.3 (17715) Build Info:&#9;&#9;&#9;&#9;&#9;&#9;IDEFrameworks-17715000000000000~8 (12C33) App Item ID:&#9;&#9;&#9;&#9;&#9; App External ID:&#9;&#9;&#9; Code Type:&#9;&#9;&#9;&#9;&#9;&#9; ARM-64 (Native) Parent Process:&#9;&#9;&#9;&#9;??? [1] Responsible:&#9;&#9;&#9;&#9;&#9; Xcode [11567] User ID:&#9;&#9;&#9;&#9;&#9;&#9;&#9; 501 Date/Time:&#9;&#9;&#9;&#9;&#9;&#9; 2020-12-19 01:09:44.783 +1100 OS Version:&#9;&#9;&#9;&#9;&#9;&#9;macOS 11.1 (20C69) Report Version:&#9;&#9;&#9;&#9;12 Anonymous UUID:&#9;&#9;&#9;&#9; Sleep/Wake UUID:&#9;&#9;&#9; Time Awake Since Boot: 40000 seconds Time Since Wake:&#9;&#9;&#9; 310 seconds System Integrity Protection: enabled Crashed Thread:&#9;&#9;&#9;&#9;0&#9;Dispatch queue: com.apple.main-thread Exception Type:&#9;&#9;&#9;&#9;EXC_CRASH (SIGABRT) Exception Codes:&#9;&#9;&#9; 0x0000000000000000, 0x0000000000000000 Exception Note:&#9;&#9;&#9;&#9;EXC_CORPSE_NOTIFY Application Specific Information: ProductBuildVersion: 12C33 ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17715/IDEKit/Workspace/IDEWorkspaceDocument.m:3270 Details:&#9;(tabController) should not be nil. Object:&#9; <IDEWorkspaceDocument: 0x11d5fdb20> Method:&#9; -commitStateToDictionary: Thread:&#9; <NSThread: 0x140628ff0>{number = 1, name = main} Open FDs: 38/7168 Hints:&#9; Backtrace: &#9;0&#9; -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit) &#9;1&#9; _DVTAssertionHandler (in DVTFoundation) &#9;2&#9; _DVTAssertionFailureHandler (in DVTFoundation) &#9;3&#9; -[IDEWorkspaceDocument showWindows] (in IDEKit) &#9;4&#9; -[DVTStateToken _copyStatefulObjectState] (in DVTFoundation) &#9;5&#9; -[DVTStateToken pushStateToRepositoryAndReturnError:] (in DVTFoundation) &#9;6&#9; -[DVTStateRepository _updateStateIfNeeded] (in DVTFoundation) &#9;7&#9; -[DVTStateRepository collectStateFromRegisteredObjects] (in DVTFoundation) &#9;8&#9; -[IDEWorkspaceDocument writeStateData] (in IDEKit) &#9;9&#9; __28-[IDEWorkspaceDocument init]_block_invoke (in IDEKit) 10&#9; -[DVTDelayedInvocation runBlock:] (in DVTFoundation) 11&#9; __NSFireDelayedPerform (in Foundation) 12&#9; CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION (in CoreFoundation) 13&#9; __CFRunLoopDoTimer (in CoreFoundation) 14&#9; __CFRunLoopDoTimers (in CoreFoundation) 15&#9; __CFRunLoopRun (in CoreFoundation) 16&#9; CFRunLoopRunSpecific (in CoreFoundation) 17&#9; RunCurrentEventLoopInMode (in HIToolbox) 18&#9; ReceiveNextEventCommon (in HIToolbox) 19&#9; _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox) 20&#9; _DPSNextEvent (in AppKit) 21&#9; -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit) 22&#9; -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit) 23&#9; -[NSApplication run] (in AppKit) 24&#9; NSApplicationMain (in AppKit) 25&#9; start (in libdyld.dylib) abort() called Application Specific Signatures: ((tabController)) != nil Are there any workarounds?
19
1
11k
Dec ’20