Post

Replies

Boosts

Views

Activity

Reply to Crash while presenting a media picker for Music
And this is the full error display: Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process 63584 does not exist" UserInfo={NSLocalizedFailureReason=Specified target process 63584 does not exist}> [u 31CF99CC-85C8-4FDF-9567-8ED0FF31C74F:m (null)] [com.apple.Music.MediaPicker(3.1)] could not acquire startup assertion Plugin <id: 0x11db6f640; core = <[u 31CF99CC-85C8-4FDF-9567-8ED0FF31C74F] [com.apple.Music.MediaPicker(3.1)],[d 239CAB04-AF5B-44B7-9644-19066F49B18E] [/private/var/containers/Bundle/Application/641E7C8C-5A59-41D0-802C-60006EE341AE/Music.app/PlugIns/MediaPicker.appex]>, instance = [(null)], state = 3, useCount = 0> must have pid! Extension request will fail Failed to acquire assertion for plugin: <id: 0x11db6f640; core = <[u 31CF99CC-85C8-4FDF-9567-8ED0FF31C74F] [com.apple.Music.MediaPicker(3.1)],[d 239CAB04-AF5B-44B7-9644-19066F49B18E] [/private/var/containers/Bundle/Application/641E7C8C-5A59-41D0-802C-60006EE341AE/Music.app/PlugIns/MediaPicker.appex]>, instance = [(null)], state = 3, useCount = 0> pid: 0 Unable to acquire process assertion in beginUsing: with plugin identifier: com.apple.Music.MediaPicker, killing plugin begin extension request <EXExtensionRequest: 0x11db68a10> Request PK UUID: CB10114C-0A82-4781-9B26-17A754A333B8 with item count 0 complete with error: Error Domain=PlugInKit Code=4 "could not acquire startup assertion" UserInfo={NSLocalizedDescription=could not acquire startup assertion} PlugInKit error in beginUsing: with plugin identifier: com.apple.Music.MediaPicker, killing plugin *** Assertion failure in -[MPMediaPickerController_Appex requestRemoteViewController], MPMediaPickerController.m:523 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'remoteViewController cannot be nil -- process will crash inserting in hierarchy. We likely got a nil remoteViewController because Music is crashing.' *** First throw call stack: (0x1869cac70 0x183499224 0x1844f9f50 0x1a6c6a060 0x18d45518c 0x18d4cd410 0x103470544 0x103489ccc 0x1034ab748 0x103480204 0x103480144 0x186957a64 0x1868e5288 0x1868e41d0 0x22bde7498 0x18c5a5ca0 0x18c510254 0x18c71ce90 0x103967154 0x1039670c4 0x103967244 0x1834f1c1c) libc++abi: terminating due to uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'remoteViewController cannot be nil -- process will crash inserting in hierarchy. We likely got a nil remoteViewController because Music is crashing.' *** First throw call stack: (0x1869cac70 0x183499224 0x1844f9f50 0x1a6c6a060 0x18d45518c 0x18d4cd410 0x103470544 0x103489ccc 0x1034ab748 0x103480204 0x103480144 0x186957a64 0x1868e5288 0x1868e41d0 0x22bde7498 0x18c5a5ca0 0x18c510254 0x18c71ce90 0x103967154 0x1039670c4 0x103967244 0x1834f1c1c) terminating due to uncaught exception of type NSException warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available.
Topic: Media Technologies SubTopic: Audio Tags:
2d
Reply to When I compile my app I get a funny link error on libsystem_kernel.dylib`__pthread_kill:
I added @main to the AppDelegate and the situation changed; now I have: libswiftCore.dylib`swift_willThrow: -> 0x181cb27ec <+0>: pacibsp 0x181cb27f0 <+4>: str x19, [sp, #-0x20]! 0x181cb27f4 <+8>: stp x29, x30, [sp, #0x10] 0x181cb27f8 <+12>: add x29, sp, #0x10 0x181cb27fc <+16>: adrp x8, 429908 0x181cb2800 <+20>: add x8, x8, #0x660 ; _swift_willThrow 0x181cb2804 <+24>: ldapr x8, [x8] 0x181cb2808 <+28>: cbnz x8, 0x181cb2818 ; <+44> 0x181cb280c <+32>: ldp x29, x30, [sp, #0x10] 0x181cb2810 <+36>: ldr x19, [sp], #0x20 0x181cb2814 <+40>: retab 0x181cb2818 <+44>: mov x0, x21 0x181cb281c <+48>: mov x19, x21 0x181cb2820 <+52>: blraaz x8 0x181cb2824 <+56>: mov x21, x19 0x181cb2828 <+60>: b 0x181cb280c ; <+32>
2w
Reply to When I compile my app I get a funny link error on libsystem_kernel.dylib`__pthread_kill:
Ok, I clarify myself a bit. There seems the code lacks an entry point, from another part of the crash log: iPuja`abort_could_not_find_entry_point___debug_dylib: 0x102ab1440 <+0>: stp x29, x30, [sp, #-0x10]! 0x102ab1444 <+4>: mov x29, sp 0x102ab1448 <+8>: bl 0x102ab1620 ; symbol stub for: abort Then it seems it keeps on finding a entry point until it crashes. iPuja`getDebugDylibEntryPoint: 0x102ab05d4 <+0>: sub sp, sp, #0x70 0x102ab05d8 <+4>: stp x26, x25, [sp, #0x20] 0x102ab05dc <+8>: stp x24, x23, [sp, #0x30] 0x102ab05e0 <+12>: stp x22, x21, [sp, #0x40] 0x102ab05e4 <+16>: stp x20, x19, [sp, #0x50] 0x102ab05e8 <+20>: stp x29, x30, [sp, #0x60] 0x102ab05ec <+24>: add x29, sp, #0x60 0x102ab05f0 <+28>: adrp x8, 8 0x102ab05f4 <+32>: ldr x8, [x8, #0x8] 0x102ab05f8 <+36>: ldr x8, [x8] 0x102ab05fc <+40>: str x8, [sp, #0x18] 0x102ab0600 <+44>: adrp x24, 12 0x102ab0604 <+48>: ldrb w8, [x24] 0x102ab0608 <+52>: adrp x23, 12 0x102ab060c <+56>: adrp x19, 12 0x102ab0610 <+60>: add x19, x19, #0x100 ; debugDylibEntryPointName 0x102ab0614 <+64>: tbnz w8, #0x0, 0x102ab0834 ; <+608> 0x102ab0618 <+68>: bl 0x102ab14f8 ; OUTLINED_FUNCTION_6 0x102ab061c <+72>: cbz w0, 0x102ab063c ; <+104> 0x102ab0620 <+76>: bl 0x102ab1564 ; OUTLINED_FUNCTION_15 Of course I may not be so much clearer than that, because if I knew what was the cause for the linking error I could fix it by myself... In brief, how do I replace the entry point, and where that is located?
2w
Reply to Specific ARKit node not showing in AR
At any rate I implemented a workaround by passing the SCNNode by: func addNode(annotationLocation: ARCL.LocationAnnotationNode) { if let sceneNode=sceneLocationView.sceneNode { sceneLocationView.addLocationNodeWithConfirmedLocation(locationNode: annotationLocation, sceneNode: sceneNode) } else { let completion: ((SCNNode)->Void)={(sceneNode) in DispatchQueue.main.async { print("sceneNode" + (sceneNode.description)) self.sceneLocationView.addLocationNodeWithConfirmedLocation(locationNode: annotationLocation, sceneNode:sceneNode) self.sceneLocationView.focusItems(in: annotationLocation.frame) } } let nodeComposition = NamedSceneNode(sceneNodeCompletion: completion) nodeComposition.progress() print("count \(nodeComposition.counter)") if var viewController=UIApplication.topViewController() as? ViewControllerProtocol{ if !viewController.nodeShowingCompletions.contains(nodeComposition){ viewController.nodeShowingCompletions.insert( nodeComposition ) } } } } By processing the completions when a SCNNode is ready in: func sceneLocationViewDidUpdateLocationAndScaleOfLocationNode(sceneLocationView: SceneLocationView, locationNode: LocationNode) { guard let sceneNode=sceneLocationView.sceneNode else { return } //print("updated element"+locationNode.description + "sceneNode: " + (sceneLocationView.sceneNode?.description ?? "nil")) if let nodeCompletion = self.nodeShowingCompletions.first{ nodeCompletion.sceneNodeCompletion(sceneNode) self.nodeShowingCompletions.remove(nodeCompletion) } } Of course until Apple clarifies how to have the node to not nil in other classes respect to the first one.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’25