Summary
KMMBridge 1.0 added the ability to use GitHub releases to store XCFramework zip artifacts. This works with SPM. However, pod repo push seems to only download a partial zip file. There is no error reported. It simply doesn't get the whole file. Running the same curl command locally has no issue.
Workaround
pod repo push works fine with GitHub Packages maven links. Why? Not sure. However, CocoaPods should use maven instead of GitHub packages. To do so, edit the following:
addGithubPackagesRepository() // <-- Add this
kmmbridge {
// gitHubReleaseArtifacts() <-- Remove this
mavenPublishArtifacts() // <-- Add this
// Must be the SSH url
cocoapods("git@github.com:[owner/repo].git")
}
Possible Fix
No idea. It's a mystery.