/GoogleCastSDK-ios-no-bluetooth

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

Primary LanguageSwiftOtherNOASSERTION

GoogleCastSDK-ios-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.

Generation

  1. Download the dynamic without Guest Mode binary from the GoogleCastSDK manual setup.
  2. Unzip it and rename it to GoogleCastSDK-ios-no-bluetooth.xcframework.
  3. Zip it: zip -r GoogleCastSDK-ios-no-bluetooth.xcframework.zip GoogleCastSDK-ios-no-bluetooth.xcframework -x "*.DS_Store" -x "__MACOSX"
  4. Move the zip file to this repository folder.

Make the XCFramework available

To make the framework available:

  1. Update the Package.swift in this repository with the framework version number.
  2. Run swift package compute-checksum GoogleCastSDK-ios-no-bluetooth.xcframework.zip and update the Package.swift in this repository with the new checksum.
  3. Commit the changes on master and create a corresponding tag.
  4. Push the commit and the tag to GitHub.
  5. 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 repository grows.