Hi.
I was wondering if anyone else has the same issue with Swift packages that include binary targets.
Let's say that some static frameworks or resources are stored in git lfs, and they are a part of the Swift Package (binary targets). On the other side, in a project, you would like to add that package (or resolve it) through Xcode. By normal "add swift package flow from the URL," a process fails with "terminated(128)".
I did some digging, and here is what I get:
Downloading X.a (715 KB)
Error downloading object: X.a (2f7ae21): Smudge error: Error downloading X.a (2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62): error transferring "2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62": [0] remote missing object 2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62
Errors logged to .../checkouts/X/.git/lfs/logs/20210323T161533.36114.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: X.a: smudge filter lfs failed
Interesting part from the git lfs log:
error transferring "2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62": [0] remote missing object 2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62
Error downloading x.a (2f7ae213e49b8b079b584b007d2cc0ab0fb0d581a64f8e4f800b1d2807a86f62)
I saw in the custom "checkout" folder where SPM checkouts the package a little bit unusual git structure. I would say that this is the core issue because a normal git clone (with lfs) pulls everything, and files are ok. Git lfs is, of course, already installed and used.
Is there any workaround for this?
Post
Replies
Boosts
Views
Activity
Is App Tracking Transparency permission somehow broken only on my device (iOS 14.5 beta, iPhone SE 1st. gen), or everyone experiences the same issue?
Buttons are disabled - grayed out, ATT request dialog does not show on request.