Version icon indicating copy to clipboard operation
Version copied to clipboard

Carthage is failing to bootstrap and update 0.7.2

Open iby opened this issue 5 years ago • 3 comments

Version 0.7.1 works perfectly, Carthage/Carthage/issues/1763 might be related.

*** Checking out Version at "0.7.2"
Parse error: expected submodule commit SHA in output of task (ls-tree -z 0.7.2 xcconfigs) but encountered: 

iby avatar Dec 05 '19 07:12 iby

Releated https://github.com/Carthage/Carthage/issues/135

muhasturk avatar Apr 14 '20 16:04 muhasturk

remove .gitmodule, commit and push. After carthage update will work fine.

muhasturk avatar Apr 14 '20 16:04 muhasturk

Thanks for looking into this! That comment was meant for the dependency repo, i.e., Version, judging on this and this. Looking at 0.7.1 and 0.7.2 I'm guessing you migrated to SPM from Xcode project, hence deleted the xcconfigs submodule but kept it listed in .gitmodules.

So, deleting .gitmodules is the first thing to do as there are no modules that are currently in use. That, however, probably won't help with the Carthage situation as it doesn't support plain SPM projects and probably won't any time soon.

It would certainly be useful to have this available via Carthage, preferably as a static framework, but we can equally move on to SPM now that Xcode supports it out of the box. :)

iby avatar May 06 '20 08:05 iby