Comments (12)
It seems ResearchKit will ignore lfs files for clone and pull: https://github.com/ResearchKit/ResearchKit/blob/master/.lfsconfig
Looks like a nice solution.
from fluentdarkmodekit.
Can we refer to this image by dragging it into issues textarea then get the URL of this image?
from fluentdarkmodekit.
Another reference is that: ResearchKit
does have git-lfs: https://github.com/researchkit/researchkit
from fluentdarkmodekit.
I would say this is more of an Apple issue. I encountered it a lot when using other packages as well. Even we removed this file, there's no guarantee that we wouldn't add another file and it's not a good idea to ask contributors to stop using Git LFS (the right thing).
If you're going to use SPM, you're gonna face this issue until Apple fix it. Otherwise, Carthage/CocoaPods are still options.
I tend not to fix from our side as long as we've provided enough information.
from fluentdarkmodekit.
Removing LFS might not be very viable, since it is already in the history. If there are devs who are trying to fetch an earlier version from Xcode, the same thing would still happen.
from fluentdarkmodekit.
TIL. That's decent.
from fluentdarkmodekit.
I created a branch with this commit, however the issue did not get resolved when I was using Xcode to fetch it as a swift package (specifying the branch name as exclude-lfs-on-clone).
The difference that creating .lfsconfig excluding files makes is that it will prevent lfs files being resolved, but git-lfs will still get called, I think due to .gitattribute.
There might not be a way to work around this on machines without git-lfs.
from fluentdarkmodekit.
@eyvallah I guess Xcode will clone all branches and check out to your specified branch, only one branch with .lfsconfig
seems not enough.
from fluentdarkmodekit.
Now I'm having no issue with the spm inside latest Xcode now even without the symbolic link hack, lfs files were simply not resolved and that is ideal. But I'm not sure if it works for everyone now.
from fluentdarkmodekit.
I checked and still need the hack.
from fluentdarkmodekit.
The error above is because that the script Apple is using doesn't include /usr/local/bin
in its path while git-lfs
is put under that path for most of us.
I think we can skip it since it's not an issue of this repo.
from fluentdarkmodekit.
Let's close this for now.
from fluentdarkmodekit.
Related Issues (20)
- `dmTraitCollectionDidChange(_ previousTraitCollection: DMTraitCollection?)` not called HOT 2
- Memory HOT 11
- Dark mode in HTML HOT 1
- 'FluentDarkModeKit/FluentDarkModeKit-Swift.h' file not found HOT 5
- iOS12 UIButton HOT 1
- WidgetExtension #error unsupported Swift architecture HOT 8
- Error pod install HOT 4
- Project does not build once added. HOT 2
- Bundle SwiftLint inside the project? HOT 4
- Does it support layer? HOT 4
- The minimum supported version. HOT 1
- Migrate to system API on iOS 13 HOT 2
- How to use ? HOT 4
- Usability in Objective-C only Projects HOT 1
- Tabbar can not change HOT 2
- Bug:objc_retain + 16 HOT 4
- Namespace style HOT 5
- Sometimes Without UIScence
- Version not released in CocoaPods HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentdarkmodekit.