Build custom experiences with Group Activities

RSS for tag

Discuss the WWDC21 session Build custom experiences with Group Activities.

Posts under wwdc21-10187 tag

2 Posts

Post

Replies

Boosts

Views

Activity

Termination Reason: FRONTBOARD 2343432205
addSubview: button button:removeFromSubview crashed Hardware Model: iPhone13,4 Process: iCSee [32890] Path: /private/var/containers/Bundle/Application/E4F78A1E-04C2-4FAB-8784-EB547CB03AA6/iCSee.app/iCSee Identifier: com.XM.CSee Version: 1.4.0 (20.0) AppStoreTools: 13E114 AppVariant: 1:iPhone13,4:15 Code Type: ARM-64 (Native) Role: Background Parent Process: launchd [1] Coalition: com.XM.CSee [1488] Date/Time: 2022-05-06 06:00:35.1051 +0700 Launch Time: 2022-05-06 02:44:37.4063 +0700 OS Version: iPhone OS 15.4.1 (19E258) Release Type: User Baseband Version: 2.53.01 Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: FRONTBOARD 2343432205 <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: application<com.XM.CSee>:32890 exhausted real (wall clock) time allowance of 10.00 seconds ProcessVisibility: Background ProcessState: Running WatchdogEvent: scene-update WatchdogVisibility: Background WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 26.030 (user 19.430, system 6.600), 41% CPU", "Elapsed application CPU time (seconds): 9.636, 15% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 CoreAutoLayout 0x000000019ad38a40 NSBitSetCount + 28 (NSBitSet.m:207) 1 CoreAutoLayout 0x000000019ad3c0cc _table_removeStorageBlockIfPossible + 64 (NSISEngine_Table.m:40) 2 CoreAutoLayout 0x000000019ad37ea0 -[NSISEngine removeConstraintWithMarker:] + 680 (NSISEngine.m:2668) 3 CoreAutoLayout 0x000000019ad412a4 -[NSLayoutConstraint _removeFromEngine:] + 212 (NSLayoutConstraint.m:1693) 4 UIKitCore 0x00000001843714d4 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 204 (NSLayoutConstraint_UIKitAdditions.m:4010) 5 CoreAutoLayout 0x000000019ad355c4 -[NSISEngine withBehaviors:performModifications:] + 88 (NSISEngine.m:1988) 6 UIKitCore 0x000000018455e524 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 216 (NSLayoutConstraint_UIKitAdditions.m:4003) 7 UIKitCore 0x0000000184381ecc __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 100 (UIView.m:12344) 8 CoreAutoLayout 0x000000019ad355c4 -[NSISEngine withBehaviors:performModifications:] + 88 (NSISEngine.m:1988) 9 UIKitCore 0x00000001844115d4 -[UIView(Hierarchy) _postMovedFromSuperview:] + 840 (UIView.m:473) 10 UIKitCore 0x0000000184342468 __UIViewWasRemovedFromSuperview + 168 (UIView.m:11692) 11 UIKitCore 0x00000001843542ec -[UIView(Hierarchy) removeFromSuperview] + 400 (UIView.m:11744) 12 iCSee 0x000000010548a970 -[RightToolView configToolViewSupportFull:supportRatio:supportSplit:supportLight:supportPIP:supportManualAlert:] + 168 (RightToolView.m:38) 13 iCSee 0x0000000104d369e0 -[XMCameraViewController configToolBarRight:] + 2668 (XMCameraViewController.mm:1457) 14 iCSee 0x0000000104dc5200 -[XMCameraViewController mediaPlayer:info1:info2:] + 2424 (XMCameraViewController.mm:9180) 15 iCSee 0x00000001055c2298 0x10481c000 + 14312088 16 iCSee 0x0000000105418f24 -[RealPlayModel OnFunSDKResult:] + 80 (RealPlayModel.mm:74) 17 Foundation 0x00000001835c98a0 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 916 (NSThread.m:1233) 18 Foundation 0x0000000183565204 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 136 (NSThread.m:1284) 19 iCSee 0x00000001066ea12c invocation function for block in UI_SendMsg(int, XMSG*) + 304 (UIInterface.mm:177) 20 libdispatch.dylib 0x0000000181a32e68 _dispatch_call_block_and_release + 32 (init.c:1517) 21 libdispatch.dylib 0x0000000181a34a2c _dispatch_client_callout + 20 (object.m:560) 22 libdispatch.dylib 0x0000000181a42f48 _dispatch_main_queue_drain + 928 (inline_internal.h:2622) 23 libdispatch.dylib 0x0000000181a42b98 _dispatch_main_queue_callback_4CF + 44 (queue.c:7770) 24 CoreFoundation 0x0000000181d862f0 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 (CFRunLoop.c:1795) 25 CoreFoundation 0x0000000181d401f4 __CFRunLoopRun + 2532 (CFRunLoop.c:3144) 26 CoreFoundation 0x0000000181d536b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268) 27 GraphicsServices 0x000000019dded374 GSEventRunModal + 164 (GSEvent.c:2200) 28 UIKitCore 0x00000001846b8e88 -[UIApplication _run] + 1100 (UIApplication.m:3511) 29 UIKitCore 0x000000018443a5ec UIApplicationMain + 364 (UIApplication.m:5064) 30 iCSee 0x00000001055c4df4 0x10481c000 + 14323188 31 dyld 0x000000010918dce4 start + 520 (dyldMain.cpp:879) ```language code-block
0
0
1.2k
May ’22
Activity communication issue in Apple Share Play
Hi, Currently I'm working on Share Play. And I struggled a lot on the issue that: In some cases, we need to share what other user(s) is(are) doing, so I made a custom event to share with all participants. But when 2 (or more) users send the activities with custom event at the same (or very similar) time, looks like groupSession ignores other users activities. Is there any way to solve this problem? or any idea to handle this situation? I just used same code with Apple's sample project. (sink completion is not called for other users activity sometimes) groupSession.$activity.sink { [weak self] activity in                     // Set the movie to enqueue it in the player.                     self?.enqueuedMovie = activity.movie                 }.store(in: &subscriptions)
1
0
911
Dec ’21
Termination Reason: FRONTBOARD 2343432205
addSubview: button button:removeFromSubview crashed Hardware Model: iPhone13,4 Process: iCSee [32890] Path: /private/var/containers/Bundle/Application/E4F78A1E-04C2-4FAB-8784-EB547CB03AA6/iCSee.app/iCSee Identifier: com.XM.CSee Version: 1.4.0 (20.0) AppStoreTools: 13E114 AppVariant: 1:iPhone13,4:15 Code Type: ARM-64 (Native) Role: Background Parent Process: launchd [1] Coalition: com.XM.CSee [1488] Date/Time: 2022-05-06 06:00:35.1051 +0700 Launch Time: 2022-05-06 02:44:37.4063 +0700 OS Version: iPhone OS 15.4.1 (19E258) Release Type: User Baseband Version: 2.53.01 Report Version: 104 Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Reason: FRONTBOARD 2343432205 <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: application<com.XM.CSee>:32890 exhausted real (wall clock) time allowance of 10.00 seconds ProcessVisibility: Background ProcessState: Running WatchdogEvent: scene-update WatchdogVisibility: Background WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 26.030 (user 19.430, system 6.600), 41% CPU", "Elapsed application CPU time (seconds): 9.636, 15% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive> Triggered by Thread: 0 Thread 0 name: Thread 0 Crashed: 0 CoreAutoLayout 0x000000019ad38a40 NSBitSetCount + 28 (NSBitSet.m:207) 1 CoreAutoLayout 0x000000019ad3c0cc _table_removeStorageBlockIfPossible + 64 (NSISEngine_Table.m:40) 2 CoreAutoLayout 0x000000019ad37ea0 -[NSISEngine removeConstraintWithMarker:] + 680 (NSISEngine.m:2668) 3 CoreAutoLayout 0x000000019ad412a4 -[NSLayoutConstraint _removeFromEngine:] + 212 (NSLayoutConstraint.m:1693) 4 UIKitCore 0x00000001843714d4 __57-[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:]_block_invoke + 204 (NSLayoutConstraint_UIKitAdditions.m:4010) 5 CoreAutoLayout 0x000000019ad355c4 -[NSISEngine withBehaviors:performModifications:] + 88 (NSISEngine.m:1988) 6 UIKitCore 0x000000018455e524 -[UIView(AdditionalLayoutSupport) _switchToLayoutEngine:] + 216 (NSLayoutConstraint_UIKitAdditions.m:4003) 7 UIKitCore 0x0000000184381ecc __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 100 (UIView.m:12344) 8 CoreAutoLayout 0x000000019ad355c4 -[NSISEngine withBehaviors:performModifications:] + 88 (NSISEngine.m:1988) 9 UIKitCore 0x00000001844115d4 -[UIView(Hierarchy) _postMovedFromSuperview:] + 840 (UIView.m:473) 10 UIKitCore 0x0000000184342468 __UIViewWasRemovedFromSuperview + 168 (UIView.m:11692) 11 UIKitCore 0x00000001843542ec -[UIView(Hierarchy) removeFromSuperview] + 400 (UIView.m:11744) 12 iCSee 0x000000010548a970 -[RightToolView configToolViewSupportFull:supportRatio:supportSplit:supportLight:supportPIP:supportManualAlert:] + 168 (RightToolView.m:38) 13 iCSee 0x0000000104d369e0 -[XMCameraViewController configToolBarRight:] + 2668 (XMCameraViewController.mm:1457) 14 iCSee 0x0000000104dc5200 -[XMCameraViewController mediaPlayer:info1:info2:] + 2424 (XMCameraViewController.mm:9180) 15 iCSee 0x00000001055c2298 0x10481c000 + 14312088 16 iCSee 0x0000000105418f24 -[RealPlayModel OnFunSDKResult:] + 80 (RealPlayModel.mm:74) 17 Foundation 0x00000001835c98a0 -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 916 (NSThread.m:1233) 18 Foundation 0x0000000183565204 -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 136 (NSThread.m:1284) 19 iCSee 0x00000001066ea12c invocation function for block in UI_SendMsg(int, XMSG*) + 304 (UIInterface.mm:177) 20 libdispatch.dylib 0x0000000181a32e68 _dispatch_call_block_and_release + 32 (init.c:1517) 21 libdispatch.dylib 0x0000000181a34a2c _dispatch_client_callout + 20 (object.m:560) 22 libdispatch.dylib 0x0000000181a42f48 _dispatch_main_queue_drain + 928 (inline_internal.h:2622) 23 libdispatch.dylib 0x0000000181a42b98 _dispatch_main_queue_callback_4CF + 44 (queue.c:7770) 24 CoreFoundation 0x0000000181d862f0 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 (CFRunLoop.c:1795) 25 CoreFoundation 0x0000000181d401f4 __CFRunLoopRun + 2532 (CFRunLoop.c:3144) 26 CoreFoundation 0x0000000181d536b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268) 27 GraphicsServices 0x000000019dded374 GSEventRunModal + 164 (GSEvent.c:2200) 28 UIKitCore 0x00000001846b8e88 -[UIApplication _run] + 1100 (UIApplication.m:3511) 29 UIKitCore 0x000000018443a5ec UIApplicationMain + 364 (UIApplication.m:5064) 30 iCSee 0x00000001055c4df4 0x10481c000 + 14323188 31 dyld 0x000000010918dce4 start + 520 (dyldMain.cpp:879) ```language code-block
Replies
0
Boosts
0
Views
1.2k
Activity
May ’22
Activity communication issue in Apple Share Play
Hi, Currently I'm working on Share Play. And I struggled a lot on the issue that: In some cases, we need to share what other user(s) is(are) doing, so I made a custom event to share with all participants. But when 2 (or more) users send the activities with custom event at the same (or very similar) time, looks like groupSession ignores other users activities. Is there any way to solve this problem? or any idea to handle this situation? I just used same code with Apple's sample project. (sink completion is not called for other users activity sometimes) groupSession.$activity.sink { [weak self] activity in                     // Set the movie to enqueue it in the player.                     self?.enqueuedMovie = activity.movie                 }.store(in: &subscriptions)
Replies
1
Boosts
0
Views
911
Activity
Dec ’21