This is the source code for the BCC Media tvOS app.
Open BCC Media.xcworkspace and let xcode do the magic.
Go to API and run make gql
to create query files for the Apollo Client.
make release
Should bump version and pushes a tag for the version. A CI/CD pipeline does the rest.
Once in a while, you'll need to generate new code signing certificates for fastlanes release pipeline to work. We use 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.
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.