Skip to content

Configuration File

Eric Miller edited this page Feb 6, 2018 · 3 revisions
{
    "ios": {
        "projectName": "ExampleProject",
        "bundleId": "com.example.ExampleProject",
        "projectPath": ""
    },
    "unity": {
        "projectName": "ExampleProject",
        "applicationPath": "",
        "version": "",
        "projectPath": "",
        "sceneNames": [
            "ExampleScene"
        ]
    }
}

To generate a configuration file, run the following command in Terminal:

UnityBuildKit config

This will generate a file named ubconfig.json for you to edit with your specific project properties.

iOS Configuration

  • projectPath is a relative path to the current working directory. The path should not begin with a / but it must end with one. UBK builds the absolute path internally. e.g.
iOS/

Unity Configuration

  • applicationPath is the full path to the specific version of the Unity app. e.g.
/Applications/Unity/2017.2.1/Unity.app/Contents/MacOS/Unity
  • version is the entire version number for the version of Unity being used to build the Unity project. e.g.
2017.2.1.f1
  • projectPath is a relative path to the current working directory. The path should not begin with a / but it must end with one. UBK builds the absolute path internally. e.g.
Unity/
Clone this wiki locally