We using multiple widget extension for isolating location usage by checking this article
https://developer.apple.com/documentation/widgetkit/accessing-location-information-in-widgets
But while using app, some of user experiencing widget disappearing on widget list.
For some users only one widget extension appears, for some users every widget extension appears.
Post
Replies
Boosts
Views
Activity
Environment OS : macOS Big Sur 11.1
xcode : 12.3
Step Project Settings > Target > Singning & Capabilities > Provisoining Profile.
Import Profile.
Select provisioning profile in local.
Crash!!!
What is the solution to a problem like this?
It is the same even if uninstall and reinstall Xcode.
Below is the detailed information about crash
Process: Xcode [18488]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.3 (17715)
Build Info: IDEFrameworks-17715000000000000~8 (12C33)
App Item ID: 497799835
App External ID: 839512638
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [18488]
User ID: 501
Date/Time: 2021-01-18 17:44:43.469 +0900
OS Version: macOS 11.1 (20C69)
Report Version: 12
Bridge OS Version: 5.1 (18P3030)
Anonymous UUID: 5B5E8D8C-2B68-AC89-C61F-5A9D7A16761B
Time Awake Since Boot: 4000 seconds
System Integrity Protection: enabled
Crashed Thread: 9 Dispatch queue: ConcurrentQueue: -[DVTProvisioningProfileSource installProfiles:callback:]blockinvoke
Exception Type: EXCCRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSENOTIFY
Application Specific Information:
ProductBuildVersion: 12C33
CoreAnimation: CAASSERTMAINTHREADTRANSACTIONS is set and an implicit transaction wasn't created on a main thread.
abort() called
ViewBridge hint(s): (
"bridge key: most-recent-completion"
)
0x00007fff2034e621 start + 1
Thread 9 Crashed:: Dispatch queue: ConcurrentQueue: -[DVTProvisioningProfileSource installProfiles:callback:]blockinvoke
0 libsystemkernel.dylib 0x00007fff20305462 _pthreadkill + 10
1 libsystempthread.dylib 0x00007fff20333610 pthreadkill + 263
2 libsystemc.dylib 0x00007fff20286720 abort + 120
3 com.apple.QuartzCore 0x00007fff26d5866e CA::CAABORTONNONMAINTHREADTRANSACTIONPUSH() + 23
4 com.apple.QuartzCore 0x00007fff26bc5b0b CA::Transaction::push(bool) + 429
5 com.apple.QuartzCore 0x00007fff26bc5926 CA::Transaction::ensureimplicit() + 270
6 com.apple.QuartzCore 0x00007fff26be144f +[CATransaction(CATransactionPrivate) activateBackground:] + 49
7 com.apple.AppKit 0x00007fff22c610e6 +[NSDisplayCycle currentDisplayCycle] + 79
8 com.apple.AppKit 0x00007fff22c60804 -[NSWindow(NSDisplayCycle) postWindowNeedsDisplayUnlessPostingDisabled] + 289
9 com.apple.AppKit 0x00007fff22c5f8a5 -[NSView setWindow:] + 1298
10 com.apple.AppKit 0x00007fff22c5ef83 -[NSFrameView initWithFrame:styleMask:owner:] + 192
11 com.apple.AppKit 0x00007fff22c5ed86 -[NSThemeFrame initWithFrame:styleMask:owner:] + 72
12 com.apple.AppKit 0x00007fff22c5cc3d -[NSWindow commonInitFrame:styleMask:backing:defer:] + 632
13 com.apple.AppKit 0x00007fff22c5c49b -[NSWindow initContent:styleMask:backing:defer:contentView:] + 1177
14 com.apple.AppKit 0x00007fff22e1e7c7 -[NSPanel initContent:styleMask:backing:defer:contentView:] + 50
15 com.apple.AppKit 0x00007fff22c5bffb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
16 com.apple.AppKit 0x00007fff22e1e77c -[NSPanel initWithContentRect:styleMask:backing:defer:] + 64
17 com.apple.AppKit 0x00007fff22c5a114 -[NSWindowTemplate nibInstantiate] + 393
18 com.apple.AppKit 0x00007fff22c25f75 -[NSIBObjectData instantiateObject:] + 238
19 com.apple.AppKit 0x00007fff22c256d4 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 484
20 com.apple.AppKit 0x00007fff22c1a128 loadNib + 392
21 com.apple.AppKit 0x00007fff22c19730 +[NSBundle(NSNibLoading) loadNibFile:nameTable:options:withZone:ownerBundle:] + 693
22 com.apple.AppKit 0x00007fff22c19386 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 201
23 com.apple.AppKit 0x00007fff22facb4e -[NSAlert init] + 137
24 com.apple.dt.DVTCocoaAdditionsKit 0x000000010be3477a +[NSAlert(DVTNSAlertAdditions) dvtalertWithMessageText:buttonTitles:informativeText:] + 89
25 com.apple.dt.IDEKit 0x000000010e0f5169 -[IDEProvisioningProfileSelectionViewController displayImportProfileAlertForError:] + 138
26 com.apple.dt.IDEKit 0x000000010e0f5643 _62-[IDEProvisioningProfileSelectionViewController importProfile]blockinvoke2 + 66
27 com.apple.dt.DVTFoundation 0x000000010bfcb889 _58-[DVTProvisioningProfileManager installProfiles:callback:]blockinvoke + 72
28 com.apple.dt.DVTFoundation 0x000000010c0ba9e9 57-[DVTProvisioningProfileSource installProfiles:callback:]blockinvoke2 + 1657
29 com.apple.dt.DVTFoundation 0x000000010c14617e DVTCALLINGCLIENTBLOCK + 7
30 com.apple.dt.DVTFoundation 0x000000010c147da0 DVTDispatchAsyncblockinvoke + 1191
31 libdispatch.dylib 0x00007fff201875dd dispatchcallblockandrelease + 12
32 libdispatch.dylib 0x00007fff201887c7 dispatchclientcallout + 8
33 libdispatch.dylib 0x00007fff2018b195 dispatchcontinuationpop + 423
34 libdispatch.dylib 0x00007fff2018a868 dispatchasyncredirectinvoke + 713
35 libdispatch.dylib 0x00007fff20197857 dispatchrootqueuedrain + 326
36 libdispatch.dylib 0x00007fff20197fb8 dispatchworkerthread2 + 92
37 libsystempthread.dylib 0x00007fff20330453 pthreadwqthread + 244
38 libsystempthread.dylib 0x00007fff2032f467 startwqthread + 15