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 submodule error from cocoa pod install #259

Closed
lbdl opened this issue Sep 22, 2014 · 9 comments
Closed

git submodule error from cocoa pod install #259

lbdl opened this issue Sep 22, 2014 · 9 comments

Comments

@lbdl
Copy link

lbdl commented Sep 22, 2014

using Podfile with typhoon line as follows:

pod 'Typhoon', '~> 2.1'

always fails with the following git submodules error

Installing Typhoon (2.2.1)
[!] /usr/local/bin/git submodule update --init --depth 1

Submodule 'Source/Vendor/OCLogTemplate' (https://github.com/typhoon-framework/OCLogTemplate.git) registered for path 'Source/Vendor/OCLogTemplate'
Cloning into 'Source/Vendor/OCLogTemplate'...

fatal: reference is not a tree: f0a76376a6b13b014b2785f54f106b84ebc83e8c

Unable to checkout 'f0a76376a6b13b014b2785f54f106b84ebc83e8c' in submodule path 'Source/Vendor/OCLogTemplate'

@jasperblues
Copy link
Member

That's strange . . . we have lots of users and you're the first to report this one. It might be best if we drop the submodule and make it a pod dependency.

Alternatively, since OCLogTemplate is simply a header file, it could be brought inside Typhoon itself.

@jasperblues
Copy link
Member

Does simply

pod 'Typhoon'

... work for you? Otherwise we'll mark this issue as urgent.

@lbdl
Copy link
Author

lbdl commented Sep 22, 2014

pod 'Typhoon' created the same error.

@jasperblues
Copy link
Member

Apologies. Marked as urgent. Will resolve within 24 hours.

@jasperblues
Copy link
Member

In the meantime could you try:

  • Cleaning your CocoaPods repositories directory
#Force rebuild of CocoaPods
rm -fr ~/.cocoapods/repos

@lbdl
Copy link
Author

lbdl commented Sep 22, 2014

Thanks,

I tried the above but I'm still hitting the same error.

On 22 September 2014 14:53, Jasper Blues [email protected] wrote:

In the meantime could you try:

  • Cleaning your CocoaPods repositories directory

#Force rebuild of CocoaPods
rm -fr ~/.cocoapods/repos


Reply to this email directly or view it on GitHub
#259 (comment)
.

@DavidMNewman
Copy link

Are you by any chance using cocoapods-0.34.0.rc2? I am currently getting this issue while using 0.34.0rc2, but when I switch over to cocoapods-0.33.1 the issue is resolved.

@lbdl
Copy link
Author

lbdl commented Sep 22, 2014

Yes I was. I didn't realise or check.

Switching to cocoapods-0.33.1 fixed the issue.

Thanks

On 22 September 2014 21:56, newworldman86 [email protected] wrote:

Are you by any chance using cocoapods-0.34.0.rc2? I am currently getting
this issue while with 0.34.0rc2, but when I switch over to using
cocoapods-0.33.1 the issue is resolved.


Reply to this email directly or view it on GitHub
#259 (comment)
.

@jasperblues
Copy link
Member

@newworldman86 thanks very much!

Let's close this off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants