Skip to content

spilgames/spil-tvos-sdk

Repository files navigation

Spil SDK (tvOS)

Framework Building instruction

The Spil target will build for the current selected device type. The SDK will work for both Simulator and Device.

Including Spil.framework in another project

1 Download one of the releases from the releases tap and unzip it.
2 Copy SpilTV.framework to the root of your project. (should be located in the directory that contains the .xcodeproj file)
3 Add a new 'Run Script' phase - ON TOP - of the Build Phases tab using the following Shell command and build the project: /usr/bin/python SpilTV.framework/setup.py $(PROJECT_NAME)

Instead of step 3 it is also possible to run the setup script from the terminal using: 'python SpilTV.framework/setup.py YOUR_PROJECT_NAME'

Documentation

http://www.spilgames.com/developers/integration/ios/ios-get-started/

Default config

Spil SDK (tvOS) uses App Lovin for ads, include the SDK key in the defaultGameConfig.json to use it: { "iosSdkConfig": { "applovin": "SDK_KEY_PROVIDED_BY_SPILGAMES" } }