Posts

Post not yet marked as solved
1 Replies
560 Views
Created an objective C app that has an embedded wkwebview. I am using the loadHTMLstring to display a NSString created by the application, no external links are used (although it will load them). When launched from Xcode in debug mode, the program works as intended. When I build a signed distribution package, it will work on the computer that built it. But when I take that build to another computer, the app will crash upon launch, not even opening the dialog. The crash log indicates that it is due to wkwebview. Running macOS 11.2.2 on both machines, (last week 11.2.1). I have the proper webkit library and framework linked. Any thoughts.
Posted
by Wayne0737.
Last updated
.
Post not yet marked as solved
1 Replies
326 Views
As stated Xcode is quiting unexpectedly when I try to open MainMenu.xib to edit my interface. The project still compiles and runs OK though. I haven't worked on the project for a while and it's been a couple months or so since last opened and Xcode has updated a couple times since. The project was updated to recommended setting when opened, plus I tried cleaning the project but to no avail. Below is the log generated. libobjc.A.dylib seems to be the culprit. Process:&#9;&#9;&#9;&#9;&#9;&#9;&#9; Xcode [46413] 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.0.1 (17220) Build Info:&#9;&#9;&#9;&#9;&#9;&#9;IDEFrameworks-17220000000000000~4 (12A7300) App Item ID:&#9;&#9;&#9;&#9;&#9; 497799835 App External ID:&#9;&#9;&#9; 837868483 Code Type:&#9;&#9;&#9;&#9;&#9;&#9; X86-64 (Native) Parent Process:&#9;&#9;&#9;&#9;??? [1] Responsible:&#9;&#9;&#9;&#9;&#9; Xcode [46413] User ID:&#9;&#9;&#9;&#9;&#9;&#9;&#9; 501 Date/Time:&#9;&#9;&#9;&#9;&#9;&#9; 2020-10-08 08:32:05.228 -0400 OS Version:&#9;&#9;&#9;&#9;&#9;&#9;Mac OS X 10.15.7 (19H2) Report Version:&#9;&#9;&#9;&#9;12 Bridge OS Version:&#9;&#9; 4.6 (17P6610) Anonymous UUID:&#9;&#9;&#9;&#9;C15E3FA4-AEE4-F5D8-67BA-091514DA4067 Time Awake Since Boot: 940000 seconds System Integrity Protection: enabled Crashed Thread:&#9;&#9;&#9;&#9;13&#9;Dispatch queue: com.apple.root.default-qos 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: Sending openClickedItemsAction: to _TtGC16DVTExplorableKit32ExplorableOutlineViewCoordinatorGCS_28DVTFilterMuxExplorableSourceGCS_19AnyExplorableSourceV6IDEKit32IDEWorkspaceExplorableIdentifierVCS3_28IDEWorkspaceExplorableSource18ExtendedAttributesCSo16IDEContainerItem___ from <DVTExplorableKit.DVTExplorerOutlineView: 0x7fb515c41e00> ProductBuildVersion: 12A7300 Performing @selector(openClickedItemsAction:) from sender DVTExplorableKit.DVTExplorerOutlineView 0x7fb515c41e00 CoreAnimation: CA_ASSERT_MAIN_THREAD_TRANSACTIONS is set and an implicit transaction wasn't created on a main thread. abort() called Thread 0:: Dispatch queue: com.apple.main-thread 0&#9; libobjc.A.dylib&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00007fff72393835 objc_msgSend + 53 1&#9; com.apple.AppKit&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00007fff367a15bd -[NSView(NSConstraintBasedLayout) nsli_lowerAttribute:intoExpression:withCoefficient:forConstraint:onBehalfOfLayoutGuide:] + 1504 2&#9; com.apple.Foundation&#9;&#9;&#9;&#9;&#9; 0x00007fff3bb5e388 -[NSLayoutConstraint _lowerIntoExpression:reportingConstantIsRounded:] + 82 3&#9; com.apple.Foundation&#9;&#9;&#9;&#9;&#9; 0x00007fff3bb59981 -[NSLayoutConstraint _addToEngine:mutuallyExclusiveConstraints:] + 129 4&#9; com.apple.AppKit&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00007fff36785014 -[NSView(NSConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:integralizationAdjustment:mutuallyExclusiveConstraints:] + 91 5&#9; com.apple.AppKit&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00007fff36784dd2 -[NSView(NSConstraintBasedLayout) _tryToAddConstraint:integralizationAdjustment:mutuallyExclusiveConstraints:] + 272 6&#9; com.apple.AppKit&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00007fff3675d1ab -[NSThemeFrame _updateContentLayoutGuideFrame] + 831 7&#9; com.apple.AppKit&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00007fff367a0901 -[NSThemeFrame _setLayoutEngine:] + 94 8&#9; com.apple.AppKit&#9;&#9;&#9;&#9;&#9;&#9;&#9; 0x00007fff367a07e3 make_and_host_engine + 185
Posted
by Wayne0737.
Last updated
.