New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use local git repository as a dependency? #1458
Comments
Forgot about |
@lolgear How you have solved this issue? |
@SandeepAggarwal use see: https://github.com/Carthage/Carthage/blob/master/Documentation/Artifacts.md#example-cartfile |
@blender If I use If I use |
Can you paste your actual Cartfile and Cartfile.resolved? |
Cartfile: github "https://github.com/netguru/ResponseDetective.git" "develop" Cartfile.resolved: github "Alamofire/Alamofire" "4.5.0" |
I can see that you are specifying Change this:
to this
|
Oh! I am sorry I didn't realised that but it is still not working fatal: '/Users/SandeepAggarwal/My Applications/LiquidFloatingActionButton.git' does not appear to be a git repository |
Try removing the Make sure that |
@blender Thank you so much. |
Note that if you switch from using a github link to a local file link, Carthage will now think it's a completely different dependency, and will not be able to resolve upstream dependencies upon the same thing if they normally refer to the remote link. This is because unlike CocoaPods, Carthage does not let you give a unique identifier (e.g., a name, such as "Alamofire") to each dependency, so therefore it has no way to know whether |
How to use local git repositories as a dependency?
Tries:
Errors:
Please, update Cartfile reference with solution.
The text was updated successfully, but these errors were encountered: