Post

Replies

Boosts

Views

Activity

Reply to Import Local Swift Package in Xcode 13.3
In case anyone found this thread, here is an issue we found in Xcode 14.1. In the past we can add a local Swift package by dragging in the enclosing folder of the package manifest, and then add it to the "Frameworks, Libraries, and Embedded Content" section. The local package will appear under "Workspace" section. We found that it works fine in Xcode 14.0.1, but in Xcode 14.1, the "Workspace" section disappears. Projects created prior to Xcode 14.1 still works and the framework shows up just fine in "Frameworks, Libraries, and Embedded Content". But if I remove the package from it and try to add it back, it doesn't show up. This might be a bug in Xcode, or something has changed in the requirement of a local Swift package, we are still looking into it.
Nov ’22
Reply to Cancel Pause Resume On-Demand Resource
This is still true as for now 211026. Behaviors: If the progress is canceled, the bundle resource request will still finish downloading the resource file, but completes with a canceled error (NSUserCancelledError). If the same resource is requested again, isResourceAvailable will be true and the resource is available instantly. No way to pause or resume the request/progress
Topic: App & System Services SubTopic: General Tags:
Oct ’21