Hi,I've been trying to build my project with xcodebuild, but keep getting this error:** INTERNAL ERROR: Uncaught exception **Uncaught Exception: Couldn't posix_spawn: error 7Stack: 0 __exceptionPreprocess (in CoreFoundation) 1 objc_exception_throw (in libobjc.A.dylib) 2 +[NSException raise:format:] (in CoreFoundation) 3 -[NSConcreteTask launchWithDictionary:] (in Foundation) 4 __46-[IDEShellScriptExecutionActionOperation main]_block_invoke_2.229 (in IDEStandardExecutionActionsCore) 5 ___DVTAsyncPerformBlockOnMainRunLoop_block_invoke (in DVTFoundation) 6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ (in CoreFoundation) 7 __CFRunLoopDoBlocks (in CoreFoundation) 8 __CFRunLoopRun (in CoreFoundation) 9 CFRunLoopRunSpecific (in CoreFoundation)10 CFRunLoopRun (in CoreFoundation)11 -[Xcode3CommandLineBuildTool _buildWithTimingSection:] (in Xcode3Core)12 -[Xcode3CommandLineBuildTool run] (in Xcode3Core)13 0x000000010fe00202 (in xcodebuild)14 start (in libdyld.dylib)what is causing this, and how do I fix it?
Post
Replies
Boosts
Views
Activity
Hi,I'm unable to upload my osx app to appstore straight from the xcarchive like such:xcrun altool --upload-app -f <path to .xcarchive>so I exported the app from the xcarchive into a pkg file, and this worked:xcrun altool --upload-app -f <path to .pkg>but now my app's appstore entry doesn't have the app's symbols, as the symbols were inside the xcarchive, not the pkg file.is there a way to upload both the app and the dsym files using altool?a lot of the discussion I've seen are on uploading .ipa file which already includes dsym inside, there's not much discussion on uploading an osx app.thanks!
Ever since BigSur was released, our app starts seeing thousands of crashes for macOS 10.16.0 and 11.0.1
the crash is due to this exception:*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: !isnan(newOrigin.y)'
and the exception backtrace looks like this:
libobjc.A.dylib&#9;&#9;0x00007fff201c1000 + 78793
CoreFoundation&#9;&#9; 0x00007fff203a1000 + 1197330
Foundation&#9;&#9;&#9;&#9; -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]
AppKit&#9;&#9;&#9;&#9;&#9;&#9; -[NSView setFrameOrigin:]
AppKit&#9;&#9;&#9;&#9;&#9;&#9; -[NSView setFrame:]
AppKit&#9;&#9;&#9;&#9;&#9;&#9; -[_NSFullScreenDetachedToolbarMenuBarCompanionController updateContentViewForMenuBarReveal]
AppKit&#9;&#9;&#9;&#9;&#9;&#9; -[_NSFullScreenDetachedToolbarMenuBarCompanionController setMenuBarReveal:]
AppKit&#9;&#9;&#9;&#9;&#9;&#9; +[_NSFullScreenSpace initialize]
AppKit&#9;&#9;&#9;&#9;&#9;&#9; +[NSCGSSpace addMenuBarRevealChangedNotificationHandler:]
Foundation&#9;&#9;&#9;&#9; -[__NSObserver _doit:]
CoreFoundation&#9;&#9; 0x00007fff203a1000 + 487388
CoreFoundation&#9;&#9; 0x00007fff203a1000 + 1124507
CoreFoundation&#9;&#9; 0x00007fff203a1000 + 1124367
CoreFoundation&#9;&#9; 0x00007fff203a1000 + 293838
Foundation&#9;&#9;&#9;&#9; -[NSNotificationCenter postNotificationName:object:userInfo:]
SkyLight&#9;&#9;&#9;&#9;&#9; 0x00007fff24b93000 + 2014909
SkyLight&#9;&#9;&#9;&#9;&#9; 0x00007fff24b93000 + 51236
SkyLight&#9;&#9;&#9;&#9;&#9; 0x00007fff24b93000 + 49848
SkyLight&#9;&#9;&#9;&#9;&#9; 0x00007fff24b93000 + 2786204
SkyLight&#9;&#9;&#9;&#9;&#9; 0x00007fff24b93000 + 2785987
libdispatch.dylib&#9;_dispatch_call_block_and_release
libdispatch.dylib&#9;_dispatch_client_callout
libdispatch.dylib&#9;_dispatch_main_queue_callback_4CF
CoreFoundation&#9;&#9; 0x00007fff203a1000 + 780640
CoreFoundation&#9;&#9; 0x00007fff203a1000 + 526402
CoreFoundation&#9;&#9; 0x00007fff203a1000 + 521918
HIToolbox&#9;&#9;&#9;&#9;&#9;RunCurrentEventLoopInMode
HIToolbox&#9;&#9;&#9;&#9;&#9;ReceiveNextEventCommon
HIToolbox&#9;&#9;&#9;&#9;&#9;_BlockUntilNextEventMatchingListInModeWithFilter
AppKit&#9;&#9;&#9;&#9;&#9;&#9; _DPSNextEvent
AppKit&#9;&#9;&#9;&#9;&#9;&#9; -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
AppKit&#9;&#9;&#9;&#9;&#9;&#9; -[NSApplication run]
AppKit&#9;&#9;&#9;&#9;&#9;&#9; NSApplicationMain
MyApp&#9;&#9;&#9;&#9;&#9;&#9;&#9;main AppDelegate.swift:11
libdyld.dylib&#9;&#9;&#9;start
this crash stack is specific to macOS BigSur, it doesn't happen on any of the previous macOS versions (we support all the way back to High Sierra)
I'm trying to hunt this crash down but I'm unable to get any repro of this specific crash.
deducing from the stack trace it looks like AppKit is trying to turn my app's window into a full screen window but I could be wrong.
I was wondering if anyone else had seen similar crash like this?