Post

Replies

Boosts

Views

Activity

MXMetricKit: finishExtendedLaunchMeasurement not work
Xcode throw an error when i call the api finishExtendedLaunchMeasurement :  [General] Couldn't find persisted ALM/FrontBoard launch signpost id when finishing an ext launch task. Error Domain=MXErrorDomain Code=5 "Internal failures happened inside of MetricKit." UserInfo={NSLocalizedDescription=Internal failures happened inside of MetricKit.} how i can fix this problem?
1
0
1.6k
Oct ’22
Background Assets: Download BAManifestDownload rejected as we are out of download allowance
Background Asset Session: https://developer.apple.com/videos/play/wwdc2022/110403 I create a new project after watching the session. And i add the following in the info.plist: BAMaxInstallSize: 1024000 BAManifestURL: https://xxx.com BAInitialDownloadRestrictions : Dictionary BADownloadAllowance: 1024000 BADownloadDomainAllowList : Array *.xxx.com But when i debug the extension with this command: xcrun backgroundassets-debug -s --app-install -b com.xxx.BADemo1 -d xxxxxxx , i get some error in conslog.app: Download BAManifestDownload - com.xxx.BADemo1.Manifest-xx rejected as we are out of download allowance. Download did fail: BAManifestDownload - com.xxx.BADemo1.Manifest-xx with error: Error Domain=com.apple.backgroundassets.error Code=203 "The requested download will not be allowed due to running out of download allowance." UserInfo={NSLocalizedFailureReason=The requested download will not be allowed due to running out of download allowance.} Rejecting launching extension for <private> because it has already run too long. how i can fix this problem
3
0
1.8k
Oct ’22