Post

Replies

Boosts

Views

Activity

Command line Build Issue - xcodebuild - Xcode 15.1
I'm currently grappling with a specific issue related to building my Xcode project using the command line (xcodebuild). Strangely, the project builds successfully within Xcode itself; however, when attempting the command line build, I encounter the following error. Interestingly, I have observed that this issue only occurs with Xcode version 15.1. When using version 15.0.1, the command line build works without any problems. 2023-12-15 13:45:23.136 xcodebuild[8753:173576] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempted to access property 'actionClass' of invalid extension with identifier 'Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.SendEmailAction'' *** First throw call stack: ( 0 CoreFoundation 0x00000001a0dbf0e4 __exceptionPreprocess + 176 1 libobjc.A.dylib 0x00000001a08ddfd0 objc_exception_throw + 60 2 DVTFoundation 0x0000000102d6c59c -[DVTInvalidExtension initWithIdentifier:] + 0 3 DVTFoundation 0x0000000102d6c7ac -[DVTInvalidExtension valueForKey:] + 164 4 IDEFoundation 0x0000000106cae1ec -[IDEExecutionActionArchivingProxy setActionTypeFromUTF8String:fromXMLUnarchiver:] + 152 5 DVTFoundation 0x0000000102e8151c _DVTSetUTF8StringRepValueWithMethod + 96 6 DVTFoundation 0x0000000102e7f454 -[DVTXMLUnarchiver decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:] + 1352 7 DVTFoundation 0x0000000102e800b4 -[DVTXMLUnarchiver decodeNodeWithXMLTextReader:owner:container:parsingState:error:] + 432 8 DVTFoundation 0x0000000102e7f630 -[DVTXMLUnarchiver decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:] + 1828 9 DVTFoundation 0x0000000102e800b4 -[DVTXMLUnarchiver decodeNodeWithXMLTextReader:owner:container:parsingState:error:] + 432 10 DVTFoundation 0x0000000102e7f630 -[DVTXMLUnarchiver decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:] + 1828 11 DVTFoundation 0x0000000102e800b4 -[DVTXMLUnarchiver decodeNodeWithXMLTextReader:owner:container:parsingState:error:] + 432 12 DVTFoundation 0x0000000102e7f630 -[DVTXMLUnarchiver decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:] + 1828 13 DVTFoundation 0x0000000102e800b4 -[DVTXMLUnarchiver decodeNodeWithXMLTextReader:owner:container:parsingState:error:] + 432 14 DVTFoundation 0x0000000102e80440 -[DVTXMLUnarchiver _readAndReturnError:] + 380 15 IDEFoundation 0x0000000106e06994 +[IDEScheme schemeFromXMLData:withRunContextManager:customDataStoreContainer:customDataSpecifier:isShown:orderHint:error:] + 952 16 IDEFoundation 0x0000000106cee654 -[IDERunContextManager _updateMap:contextForCustomDataStore:specifier:] + 304 17 IDEFoundation 0x0000000106cefa00 -[IDERunContextManager _customDataStoresDidUpdate] + 1140 18 IDEFoundation 0x0000000106cedccc __42-[IDERunContextManager initWithWorkspace:]_block_invoke + 112 19 DVTFoundation 0x0000000102f363ec -[NSObject(SharedObserverConvenienceInternals) _dvt_addSharedObserverForKeyPath:observeInitial:block:] + 144 20 DVTFoundation 0x0000000102f3424c -[NSObject(DVTObservingConvenience) dvt_newSharedObserverForKeyPath:observeInitial:withHandlerBlock:] + 12 21 IDEFoundation 0x0000000106ced888 -[IDERunContextManager initWithWorkspace:] + 404 22 IDEFoundation 0x0000000106cb9f18 -[IDEWorkspace _setupWorkspaceArenaIfNeeded] + 360 23 IDEFoundation 0x0000000106cba3a8 __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke + 88 24 IDEFoundation 0x0000000106cba608 __81-[IDEWorkspace _finishLoadingAsynchronously:shouldUpgradeFromSimpleFilesFocused:]_block_invoke.138 + 84 25 Foundation 0x00000001a1ca1204 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 24 26 Foundation 0x00000001a1ca10c4 -[NSBlockOperation main] + 104 27 Foundation 0x00000001a1ca1054 __NSOPERATION_IS_INVOKING_MAIN__ + 16 28 Foundation 0x00000001a1ca046c -[NSOperation start] + 708 29 Foundation 0x00000001a1ca01a0 __NSOPERATIONQUEUE_IS_STARTING_AN_OPERATION__ + 16 30 Foundation 0x00000001a1ca0090 __NSOQSchedule_f + 172 31 libdispatch.dylib 0x00000001a0ac7518 _dispatch_block_async_invoke2 + 148 32 libdispatch.dylib 0x00000001a0ab8400 _dispatch_client_callout + 20 33 libdispatch.dylib 0x00000001a0ac6bf8 _dispatch_main_queue_drain + 928 34 libdispatch.dylib 0x00000001a0ac6848 _dispatch_main_queue_callback_4CF + 44 35 CoreFoundation 0x00000001a0d87bc4 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 36 CoreFoundation 0x00000001a0d45344 __CFRunLoopRun + 1992 37 CoreFoundation 0x00000001a0d44428 CFRunLoopRunSpecific + 612 38 DVTFoundation 0x0000000102e20858 +[DVTKVOConditionValidator waitForCondition:sourceObject:keyPathAffectingConditionBlock:timeout:] + 292 39 Xcode3Core 0x0000000102c520b8 -[Xcode3CommandLineBuildTool _resolveInputOptionsWithTimingSection:] + 12956 40 Xcode3Core 0x0000000102c6534c -[Xcode3CommandLineBuildTool run] + 3060 41 libxcodebuildLoader.dylib 0x00000001029e1c10 XcodeBuildMain + 952 42 dyld 0x00000001a090ff28 start + 2236 ) ** INTERNAL ERROR: Uncaught exception ** Uncaught Exception: Attempted to access property 'actionClass' of invalid extension with identifier 'Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.SendEmailAction' Stack: 0 __exceptionPreprocess (in CoreFoundation) 1 objc_exception_throw (in libobjc.A.dylib) 2 -[DVTInvalidExtension initWithIdentifier:] (in DVTFoundation) 3 -[DVTInvalidExtension valueForKey:] (in DVTFoundation) 4 -[IDEExecutionActionArchivingProxy setActionTypeFromUTF8String:fromXMLUnarchiver:] (in IDEFoundation) 5 _DVTSetUTF8StringRepValueWithMethod (in DVTFoundation) 6 -[DVTXMLUnarchiver decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:] (in DVTFoundation) 7 -[DVTXMLUnarchiver decodeNodeWithXMLTextReader:owner:container:parsingState:error:] (in DVTFoundation) 8 -[DVTXMLUnarchiver decodeElementNodeWithXMLTextReader:owner:container:parsingState:success:error:] .............
1
0
677
Dec ’23