This is a repository to provide an SPM package for the Google Cast SDK since they only provide a CocoaPod version. This repo should be deprecated as soon as they provide an SPM.
As of now (2023-05-31) new versions are provided from the Google developer site: https://developers.google.com/cast/docs/ios_sender#xcframework
-
Unzip the file from Google.
-
Create a new branch from
main
. -
Delete the
GoogleCast.xcframework
folder. -
Unzip the new release and copy
GoogleCast.xcframework
to the same folder as this README -
Run the
generate_license.rb
script, passing an absolute path to theOpenSourceLicenses
directory that's part of the unzipped folder:ruby generate_license.rb /path/to/GoogleCastSDK-ios-x.y.z-xcframework/OpenSourceLicenses
-
Create a PR.
-
When the PR is Approved, merge to
main
. -
Create a tag with the new version number with
git tag X.X.X
that matches the Google release version -
Run
git push --tags
-
Go to the app repo and update the SPM reference to the tag you just created. Fix any build errors that the new version might introduce. You might have to delete
DerivedData
before the changes are available in the app.