Skip to content
This repository has been archived by the owner on Jul 5, 2019. It is now read-only.

expected submodule commit SHA in output of task #87

Closed
Hughen opened this issue May 5, 2018 · 6 comments
Closed

expected submodule commit SHA in output of task #87

Hughen opened this issue May 5, 2018 · 6 comments
Assignees

Comments

@Hughen
Copy link

Hughen commented May 5, 2018

I can not build this project in my computer.
I went through the following process, e.g:

  1. git submodule update --init
  2. pod install
  3. carthage update

but 3 step has been failed:

*** Fetching YAML.framework
Parse error: expected submodule commit SHA in output of task (ls-tree -z HEAD Library/Eureka) but encountered:

@haxpor
Copy link
Owner

haxpor commented May 5, 2018

Thank you. It's my mistake of not removing these lines from .gitsubmodules.

I will fix this and push new update. In the meantime, you can fix this yourself by starting fresh, and removing those lines before execute commands.

@haxpor haxpor self-assigned this May 5, 2018
@Hughen
Copy link
Author

Hughen commented May 5, 2018

I alway build failed, there is a same error tips:
Parse error: expected submodule commit SHA in output of task (ls-tree -z HEAD Library/Eureka) but encountered:

my gitmodules file:

[submodule "Library/ShadowPath/ShadowPath/shadowsocks-libev"]
        path = Library/ShadowPath/ShadowPath/shadowsocks-libev
        url = https://github.com/icodesign/shadowsocks-libev.git
[submodule "Library/ShadowPath/ShadowPath/libmaxminddb"]
        path = Library/ShadowPath/ShadowPath/libmaxminddb
        url = https://github.com/haxpor/libmaxminddb.git
[submodule "Library/CallbackURLKit"]
        path = Library/CallbackURLKit
        url = https://github.com/phimage/CallbackURLKit.git

@haxpor
Copy link
Owner

haxpor commented May 5, 2018

Ok, please also do rm -rf .git/modules/Library/Eureka and see if it helps.

@Hughen
Copy link
Author

Hughen commented May 5, 2018

there not exist .git/modules/Library/Eureka before remove it.

x:Potatso $ ls -al .git/modules/Library/
total 0
drwxr-xr-x   4 x  staff  128 May  5 19:19 .
drwxr-xr-x   3 x  staff   96  May  5 19:19 ..
drwxr-xr-x  12 x staff  384 May  5 19:20 CallbackURLKit
drwxr-xr-x   3 x  staff   96  May  5 19:19 ShadowPath

@haxpor
Copy link
Owner

haxpor commented May 5, 2018

You need to remove cloned directory, edit that .gitmodules file then execute the command. It needs to start all over to make it works.

@haxpor haxpor closed this as completed in 9cb8920 May 5, 2018
@haxpor
Copy link
Owner

haxpor commented May 5, 2018

I pushed a new commit for this fix. You don't have to pull in but just follow above steps. If still encounter the problem, feel free to reopen. Thanks!

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

No branches or pull requests

2 participants