Post

Replies

Boosts

Views

Activity

The download failed, what are the requirements for the BackgroundDownloadExt certificate or BundleId?
xcrun backgroundassets-debug --simulate --app-install -d 00008120-0014188636D8C01E -b com.testBackGround.photos Application was installed event was sent for app identifier: (com.testBackGround.photos). WWDC Sessions Background Assets Extension container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled backgroundassets.user Extension interrupted for identifier: com.testBackGround.photos runningboardd Invalidating assertion 31-413-2850 (target:[xpcservice<com.testBackGround.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:413])>:1479]) from originator [osservice<com.apple.backgroundassets.user>:413] backgroundassets.user Extension invalidated for identifier: com.testBackGround.photos backgroundassets.user Extension for app identifier com.testBackGround.photos ran for 1.1 seconds. backgroundassets.user Failed to send -[BADownloaderExtensionProxy requestDownloadsWithContentRequest:manifestURL:extensionInfo:completion:]_block_invoke for: com.testBackGround.photos error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.testBackGround.photos.BackgroundDownloadExt was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.testBackGround.photos.BackgroundDownloadExt was invalidated from this process.} backgroundassets.user Removing manifest download as extension did not handle manifest. BAManifestDownload (0xc2d2075c0): [ID:com.testBackGround.photos.Manifest-466C2F4F-60C7-494A-85EA-5E59F243C176, AppID:com.testBackGround.photos, Necessity:Essential]
2
0
851
Aug ’23
File download failed
Failed to send -[BADownloaderExtensionProxy backgroundDownload:finishedWithSandboxToken:completionHandler:]_block_invoke for: com.xuhuiTest.photos error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service with pid 2085 named com.xuhuiTest.photos.BackgroundDownloadExt" UserInfo={NSDebugDescription=connection to service with pid 2085 named com.xuhuiTest.photos.BackgroundDownloadExt} Client is missing signing identifier, client must be signed with an identifier to use BackgroundAssets. (null) log.json
2
0
779
Aug ’23
backgroundassets download failed
xcrun backgroundassets-debug --simulate --app-install -d 00008120-0014188636D8C01E -b com.linkone.photos Application was installed event was sent for app identifier: (com.linkone.photos). 1.Failed to get LSApplicationRecord for <RBSLaunchRequest| xpcservice<com.linkone.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>; "Launching extension com.linkone.photos.BackgroundDownloadExt(417909C8-350A-40DB-BB09-011C6852A5F9) for host 432"> with error Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=1569, _LSFunction=runEvaluator} 2.Extension interrupted for identifier: com.linkone.photos 3.Failed to send -[BADownloaderExtensionProxy requestDownloadsWithContentRequest:manifestURL:extensionInfo:completion:]_block_invoke for: com.linkone.photos error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.linkone.photos.BackgroundDownloadExt was invalidated from this process." UserInfo={NSDebugDescription=The connection to service named com.linkone.photos.BackgroundDownloadExt was invalidated from this process.} 4.Removing manifest download as extension did not handle manifest. BAManifestDownload (0xcdcd199a0): [ID:com.linkone.photos.Manifest-A11C1BD7-4D46-4030-8AFB-3AC740645C5B, AppID:com.linkone.photos, Necessity:Essential] 5.Failed to lookup LSBundleRecord for audit token. Error Domain=NSOSStatusErrorDomain Code=-600 "The file system path for this process could not be determined. It may not be running, or it may have been deleted or moved while running." UserInfo={NSDebugDescription=The file system path for this process could not be determined. It may not be running, or it may have been deleted or moved while running., _LSLine=266, _LSFunction=+[LSBundleRecord _bundleRecordForAuditToken:checkNSBundleMainBundle:error:]} 6.RBSStateCapture remove item called for untracked item 31-432-3187 (target:[xpcservice<com.linkone.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:962])
2
0
828
Aug ’23
The extension of Background assets failed to run
xcrun backgroundassets-debug --simulate --app-install -d 00008120-0014188636D8C01E -b com.feitiandalong.photos Application was installed event was sent for app identifier: (com.feitiandalong.photos). It can be seen through charles capture that BAManifestURL has been successfully downloaded but none of the files in the manifest are downloaded. ACKs-compressed: 0, ACKs delayed: 0 delayed ACKs sent: 0 20:11:10.316138+0800 backgroundassets.user nw_flow_disconnected [C18 IPv4#98070097:443 cancelled parent-flow ((null))] Output protocol disconnected 20:11:10.317934+0800 backgroundassets.user nw_connection_report_state_with_handler_on_nw_queue [C18] reporting state cancelled 20:11:10.318057+0800 backgroundassets.user Connection 18: done 20:11:10.318375+0800 backgroundassets.user tcp_output [C18.1.1.1:3] flags=[FP.] seq=887285318, ack=2619599097, win=2048 state=FIN_WAIT_1 rcv_nxt=2619599097, snd_una=887285287 20:11:10.339591+0800 backgroundassets.user Removing manifest as extension processed the manifest. BAManifestDownload (0xcdca24b10): [ID:com.feitiandalong.photos.Manifest-576E82DE-A63B-4C9C-A463-266CAAEAA41D, AppID:com.feitiandalong.photos, Necessity:Essential] 20:11:10.340096+0800 backgroundassets.user Scheduled content request downloads count: 0 for client: com.feitiandalong.photos 20:11:10.341866+0800 backgroundassets.user user sessions enabled, targeting 501 20:11:10.345417+0800 backgroundassets.user cleaning up unpooled xpc conn to trustd 0xcdcc3a020 20:11:10.345523+0800 backgroundassets.user got event: Connection invalid 20:11:10.345550+0800 backgroundassets.user Trust evaluate failure: [leaf IssuerCommonName LeafMarkerOid SubjectCommonName] 20:11:10.357817+0800 backgroundassets.user user sessions enabled, targeting 501 20:11:10.360095+0800 backgroundassets.user cleaning up unpooled xpc conn to trustd 0xcdf20caa0 20:11:10.360199+0800 backgroundassets.user Trust evaluate failure: [leaf IssuerCommonName LeafMarkerOid SubjectCommonName] 20:11:10.360227+0800 backgroundassets.user got event: Connection invalid 20:11:10.366564+0800 backgroundassets.user was picked for validation 20:11:10.367495+0800 backgroundassets.user Client connection accepted from pid:620 20:11:10.708893+0800 backgroundassets.user tcp_input [C18.1.1.1:3] flags=[F.] seq=2619599097, ack=887285382, win=133 state=FIN_WAIT_2 rcv_nxt=2619599097, snd_una=887285382 20:11:25.379062+0800 backgroundassets.user Extension invalidated for identifier: com.feitiandalong.photos 20:11:25.379163+0800 backgroundassets.user Extension for app identifier com.feitiandalong.photos ran for 15.9 seconds. 20:11:25.379818+0800 runningboardd Invalidating assertion 31-432-2356 (target:[xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:620]) from originator [osservice<com.apple.backgroundassets.user>:432] 20:11:25.486812+0800 runningboardd Removed last relative-start-date-defining assertion for process xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])> 20:11:25.488538+0800 runningboardd Calculated state for xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>: running-suspended (role: None) 20:11:25.488835+0800 runningboardd [xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:620] Set jetsam priority to 0 [0] flag[1] 20:11:25.489062+0800 runningboardd [xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:620] Suspending task. 20:11:25.489964+0800 runningboardd [xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:620] Shutdown sockets (SVC) 20:11:25.490145+0800 runningboardd [xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:620] Result 45 setting darwin role to None: Operation not supported, falling back to setting priority 20:11:25.490350+0800 runningboardd [xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:620] Set darwin priority to: PRIO_DARWIN_BG 20:11:25.490716+0800 runningboardd [xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:620] set Memory Limits to Hard Inactive (6) 20:11:25.491013+0800 runningboardd [xpcservice<com.feitiandalong.photos.BackgroundDownloadExt([osservice<com.apple.backgroundassets.user>:432])>:620] check if suspended process is holding locks 20:11:25.505215+0800 backgroundassets.user Received state update for 620
3
0
793
Aug ’23