Here is another alternative, you can use this script for 2020 https://github.com/gurhub/universal-framework
Best.
Post
Replies
Boosts
Views
Activity
I have exactly the same problem with the same error message. I posted on Stackoverflow too. https://stackoverflow.com/questions/66600288/avaggregateassetdownloadtask-error-domain-coremediaerrordomain-code-16657
Technical Details
Xcode Version 12.4 (12D4e)
iOS Version 14.4
Any solution on this?
Hi, I reported a bug
FB9043262
Best.
Muhammed Gurhan Yerlikaya
Hi @mritunjay,
in some of my tests, it successfully downloaded after suspend/resume on iOS 14.4 too.
The test screen and the scenario are so simple, and the same actually. But, even for the same file, it's changing from time to time. This is my suspend and the resume methods:
swift
/// Pauses an AVAssetDownloadTask via given productId.
/// - Parameter productId: The productId.
@objc public func pauseDownload(for productId: String) {
var asset: Asset?
var task: AVAggregateAssetDownloadTask?
for (taskKey, assetValue) in activeDownloadsMap where productId == assetValue.productId {
asset = assetValue
task = taskKey
task?.suspend()
break
}
// Here: I'm sending a notification to the UI cases
}
/// Resumes an AVAssetDownloadTask via given productId.
/// - Parameter productId: The productId.
@objc public func resumeDownload(for productId: String) {
var asset: Asset?
var task: AVAggregateAssetDownloadTask?
for (taskKey, assetValue) in activeDownloadsMap where productId == assetValue.productId {
asset = assetValue
task = taskKey
task?.resume()
break
}
// Here: I'm sending a notification to the UI cases
}
Not exactly what you ask I know, but here is another alternative on the command-line, maybe you can add to your CI line even (didn't try that). It's a Command Line Tool to create XCFrameworks:
https://github.com/gurhub/surmagic
Best
Alternatively, you can try a command-line tool to create XCFrameworks, check the library line below:
https://github.com/gurhub/surmagic
With this approach, you'll create a file (Surfile) - https://github.com/gurhub/surmagic#what-is-the-surfile one time only, then you can use it multiple times / forever.
Best
Alternatively
If you're doing this operation often, or if you wanted to automate (CI/CD) this process you can also use the CLI tool Surmagic https://github.com/gurhub/surmagic.
You can check the Demo project under this repository, it's working. You need to compare it with your project's build settings.
https://github.com/gurhub/surmagic/tree/master/Demo
Also, you can use the surmagic tool to create your XCFrameworks for ease.
You can replace those (as you wish) as you mentioned in your question.
CommandGroup(replacing: .newItem) { EmptyView() }
or
CommandGroup(replacing: .newItem) { }
According to the document. You can’t modify or remove the Apple menu items as expected. Which is actually, perfectly reasonable.
The Apple menu, which is always the first item on the leading side of the menu bar, includes system-defined menu items that are always available. You can’t modify or remove the Apple menu
Best
Be sure non of those subdomains return 404.