https://github.com/bcc-code/bcc-media-tvos
[BCC Media] BCC Media tvOS
https://github.com/bcc-code/bcc-media-tvos
bcc-media
Last synced: 12 months ago
JSON representation
[BCC Media] BCC Media tvOS
- Host: GitHub
- URL: https://github.com/bcc-code/bcc-media-tvos
- Owner: bcc-code
- License: apache-2.0
- Created: 2023-03-22T19:00:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-20T11:08:59.000Z (12 months ago)
- Last Synced: 2025-06-20T12:21:29.645Z (12 months ago)
- Topics: bcc-media
- Language: Swift
- Homepage:
- Size: 23.3 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BCC Media tvOS
This is the source code for the BCC Media tvOS app.
# Setup
Open BCC Media.xcworkspace and let xcode do the magic.
# Generate queries
Go to [API](./API) and run `make gql` to create query files for the Apollo Client.
# Release
```
make release
```
Should bump version and pushes a tag for the version. A CI/CD pipeline does the rest.
# Troubleshooting
## Updating signing certificates
Once in a while, you'll need to generate new code signing certificates for fastlanes release pipeline to work. We use [match](https://docs.fastlane.tools/actions/match/) for this.
To generate new certificates for tvOS, run the following command.
```
fastlane match appstore --platform tvos
```
This will generate new code signing certificates and place it [in your Apple Developer account](https://developer.apple.com/account/resources).
### After generating new certificates
When new certificates are generated, you'll have to update some environment variables for the fastlane Github Action to work;
- **CERTIFICATE_BASE64**
Export the certificate from Keychain Access and convert the contents to base64 format. You can do this by running this command and copying the output:
```
cat ~/path/to/certificate.p12 | base64
```
Update the secret in Github with the new base64 string.