Skip to content

Repository for GoogleCast SDK integration with SPM (no Bluetooth, universal)

License

Notifications You must be signed in to change notification settings

SRGSSR/GoogleCastSDK-no-bluetooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GoogleCastSDK-no-bluetooth XCFramework

Until Google provides SPM support for its Google Cast SDK this repository delivers official XCFrameworks as Swift packages for easy integration into projects.

Integration

Use Swift Package Manager directly within Xcode. You can also declare the library as a dependency of another one directly in the associated Package.swift manifest.

Make the XCFramework available

To make the generated framework available:

  1. Download the Dynamic XCFramework without Bluetooth binary from the GoogleCastSDK manual setup.
  2. Rename the corresponding zip as GoogleCastSDK-no-bluetooth.xcframework.zip.
  3. Calculate the zip checksum using swift package compute-checksum /path/to/GoogleCastSDK-no-bluetooth.xcframework.zip
  4. Update the Package.swift in this repository with the framework version number and the checksum that you obtained. Also update the deployment target according to the official SDK documentation.
  5. Commit the changes on main and create a corresponding tag.
  6. Push the commit and the tag to GitHub.
  7. Attach the binary to the tag on GitHub.

Do not commit the binaries in the repository, as this would slow done checkouts made by SPM as the repostory grows.

About

Repository for GoogleCast SDK integration with SPM (no Bluetooth, universal)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages