Optimize Repository Size for XCode SwiftPackage Clone Speed
Cloning the CodeEditLanguages repository is currently very slow due to its large size, primarily caused by historical commits. For example, cloning the repository with the following command results in downloading 1.38 GB of data:
git clone https://github.com/CodeEditApp/CodeEditLanguages.git
Cloning into 'CodeEditLanguages'...
remote: Enumerating objects: 1377, done.
remote: Total 1377 (delta 0), reused 0 (delta 0), pack-reused 1377 (from 1)
Receiving objects: 100% (1377/1377), 1.38 GiB | 15.44 MiB/s, done.
Resolving deltas: 100% (682/682), done.
However, the latest code size in the repository is only approximately 34.9 MB, meaning most of the download size is due to the history of the repository. This significantly slows down the cloning process, especially CodeEditApp setup init.
XCode is unable to configure the HTTP proxy, resulting in very slow speeds.
Same issue here
An option would be to manually add the XCFramework to GitHub releases and point to it in the manifest. Then wipe the history and just point to the artefact via URL instead of committing it.