Skip to content
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

Git submodules use SSH URLs requiring GitHub account #24

Closed
Cam1337 opened this issue Mar 13, 2015 · 5 comments
Closed

Git submodules use SSH URLs requiring GitHub account #24

Cam1337 opened this issue Mar 13, 2015 · 5 comments
Labels

Comments

@Cam1337
Copy link

Cam1337 commented Mar 13, 2015

cam$ git clone --recursive https://github.com/beltex/dshb

Cloning into 'dshb'...
remote: Counting objects: 810, done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 810 (delta 106), reused 82 (delta 82), pack-reused 679
Receiving objects: 100% (810/810), 259.62 KiB | 0 bytes/s, done.
Resolving deltas: 100% (545/545), done.
Checking connectivity... done.
Submodule 'libs/CommandLine' ([email protected]:jatoben/CommandLine.git) registered for path 'libs/CommandLine'
Submodule 'libs/SMCKit' ([email protected]:beltex/SMCKit.git) registered for path 'libs/SMCKit'
Submodule 'libs/SystemKit' ([email protected]:beltex/SystemKit.git) registered for path 'libs/SystemKit'
Cloning into 'libs/CommandLine'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of '[email protected]:jatoben/CommandLine.git' into submodule path 'libs/CommandLine' failed

beltex added a commit that referenced this issue Mar 13, 2015
This makes things simpler since SSH demands key setup synced with a GitHub
account.

Ref: #24
@beltex
Copy link
Owner

beltex commented Mar 13, 2015

Hi @Cam1337!

This GitHub help page should cover the error. It’s an issue with your SSH key setup.

However, you bring to the fore a good point! That is, the Git submodules for the project are using SSH URLs instead of HTTPS, which makes things less accessible, since SSH keys must be generated and synced with a GitHub account, just to clone the repository. I should have realized this earlier, my mistake! I’ve thus updated the submodule URLs.

Give it a shot now and let me know if it works for you!

@Cam1337
Copy link
Author

Cam1337 commented Mar 15, 2015

Hi @beltex,

I managed to download all of the files. Now the problem occurs with the build. I have pasted the log here: https://gist.github.com/Cam1337/252994576d1a18dee29e

Please let me know if you have any suggestions.

Best,
Cameron

@beltex
Copy link
Owner

beltex commented Mar 15, 2015

Awesome!

Looking at the logs, seems to be due to the Xcode version. Xcode 6.3 beta 3 is required, which includes the Swift 1.2 compiler, available here. You can check the Swift compiler version you have like so

$ xcrun swiftc -v
Apple Swift version 1.2 (swiftlang-602.0.44.6 clang-602.0.45)
Target: x86_64-apple-darwin14.1.0

Once you've downloaded it and put it in place, make sure to run the following to set it as the active Xcode

$ sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer/

@beltex beltex closed this as completed Mar 15, 2015
@Cam1337
Copy link
Author

Cam1337 commented Mar 15, 2015

It works! Thank you very much for your timely responses.

Regards,
Cameron

@beltex
Copy link
Owner

beltex commented Mar 15, 2015

Great! np! :)

@beltex beltex added the tools label Jun 18, 2015
@beltex beltex changed the title CommandLine Repository Permission Denied Git submodules use SSH URLs requiring GitHub account Jun 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants