-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Cocoapods crash when installing realm #2243
Comments
Hm, that's very very strong that it seems to think there's a symlink from |
What version of git do you have? Do you have any weird git setup on your local machine? |
Git version 2.1.3.36.g8e36a6d and honestly, it's possible. I've had to tweak things before when coming up on errors like this with no solution. Although I can't say for sure that I've tweaked git itself. |
Also, I don't think the issue is so much that there is a symlink there as it is that the script is trying to rename a file that doesn't exist. Let me specify: The script calls:
The first clause in the mv command is what is breaking. It calls
When it should (or could?) be calling
I'm not sure where it's getting that first file path. If it were to call it with the file path I just wrote, it would get that the file exists and nothing would actually change (and the script would continue). |
Right, but it's calling |
Yeah I have no idea either, let me know if I can help in any way. By the way, this is what find . -type l returns for me locally: ./.git/description ./.git/hooks/applypatch-msg.sample ./.git/hooks/commit-msg.sample ./.git/hooks/post-update.sample ./.git/hooks/pre-applypatch.sample ./.git/hooks/pre-commit.sample ./.git/hooks/pre-push.sample ./.git/hooks/pre-rebase.sample ./.git/hooks/prepare-commit-msg.sample ./.git/hooks/update.sample ./.git/info/exclude |
That's ... really strange. And would certainly explain the issue your seeing. I suppose it makes no sense to muck around with stuff in the |
same problem |
Since today we have also experiencing issues with swift-2.0 branch and cocoa pods. Once installed/updated with pods RealmSwift module is not being visible during build process. |
The same here. I'm not able to build project. On Friday worked perfect, since today after pod update (and also upgrading cocoa pods to ver 0.38.0) stopped working. The error shows: "No such module 'RealmSwift'". |
same problem today. |
@fewspider please send us steps to reproduce and we'll reopen this issue if we missed something. |
After adding the code shown in the docs to my podfile and running pod install, I get the following:
If I had to guess, I would say that the issue is in the build script where it is trying to rename a file that does not exist (./.git//Applications/GitHub.app/Contents/Resources/git/share/git-core/templates/description).
I have been all over the internet looking for a solution and have tried everything in the following links with no success:
#1022
#1520
CocoaPods/CocoaPods#2598
#908
#2102
Realm version: v0.93.2
XCode version: 7.0 beta (7A120f)
The text was updated successfully, but these errors were encountered: