Open vanniktech opened 2 years ago
I will exclude unnecessary files from CocoaPods release later.
@vanniktech
I checked Mantis.podspec. It only includes files in the Sources
folder
s.source_files = "Sources/**/*.{h,swift}"
So the Mantis pod is only 222k after pod install
I am guessing if it is because of some temporary internet issue.
Hmmm, then let's close this and if I encounter it again I'll see what's inside.
To this day I still have those issue. Now I can't even get the latest version:
Installing Mantis 2.22.0 (was 2.21.0)
[!] Error installing Mantis
[!] /opt/homebrew/bin/git clone https://github.com/guoyingtao/Mantis.git /var/folders/mg/nrx5qjvs09v1wfmrfrlpnd800000gn/T/d20240819-27884-r78ec8 --template= --single-branch --depth 1 --branch v2.22.0
Cloning into '/var/folders/mg/nrx5qjvs09v1wfmrfrlpnd800000gn/T/d20240819-27884-r78ec8'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 10 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
I have no idea why it happened. It looks like a network issue or maybe you can clean the pod cache and try again?
It ended up working but then I still had to wait more than 5 minutes for the pod to install. It should not be that slow.
I'm mostly working from Mobile data and installing 2.0.1 took really long (10-15 minutes)
I guess this is mainly because of the images directory which has 26.7MB.
Either crunch / compress the images or maybe remove some (dunno if all are actually used).