David
11/18/2024, 3:39 PMkpgalligan
11/18/2024, 8:23 PMPackage.swift
at the git tag points at the release url. Example, 0.1.6 in the quick start repo: https://github.com/touchlab/KMMBridgeSPMQuickStart/commit/c237ec345bfca6b924e8e3b4140123152b7f4881David
11/18/2024, 9:52 PMDavid
11/18/2024, 9:53 PMkpgalligan
11/18/2024, 10:13 PMPackage.swift
needs to be in your root folder. Xcode/SPM uses git tags for versions.kpgalligan
11/18/2024, 10:15 PMkpgalligan
11/18/2024, 10:17 PMDavid
11/18/2024, 10:42 PMDavid
11/19/2024, 2:29 PMDavid
11/19/2024, 2:29 PMDavid
11/19/2024, 2:38 PMDavid
11/19/2024, 3:42 PMDavid
11/19/2024, 3:49 PMkpgalligan
11/19/2024, 5:41 PMbut when you press add package, the entire source code is downloaded (the kmm code, not the iOS code), is that what is expected? We expected just the relevant zip to be downloadedYes. That's how Xcode works. If you publish to a different repo, that won't happen.
kpgalligan
11/19/2024, 5:41 PMis this maybe related to authenticationProbably
kpgalligan
11/19/2024, 5:44 PMThe question is if we can require that from our users, that's complicated to ask from them just to add a dependency, we are not sure what to doYeah, it sucks, but to download binaries, GitHub requires auth even for public binaries. However, one of our devs reported getting binary download of public binaries to work without auth. That would still need verification. During initial KMMBridge research, we tried many methods of doing this without success. I'm concerned that download without auth seems to work because of some kind of caching issue.
kpgalligan
11/19/2024, 5:46 PMthe question would be why you don't simply push the zip content to the root of the tag instead of referencing a zip?I don't know what you mean. Check the zip into the repo itself? If yes, sure, you can. That doesn't work well for ongoing dev scenarios because the repo becomes huge. You can try it, though.
David
11/19/2024, 6:11 PMkpgalligan
11/19/2024, 8:28 PMDavid
11/19/2024, 8:44 PMDavid
11/19/2024, 8:45 PM