adjust / corona_sdk

This is the Corona SDK of
http://www.adjust.com
6 stars 7 forks source link

adding build for self-hosted plugins #17

Closed Shchvova closed 3 years ago

Shchvova commented 4 years ago

Editing build.sh script to generate self-hosted archives, so users can build iOS Apps from the simulator. When uploaded to the host, build settings entry looks like:

    plugins = 
    {
        ["plugin.adjust"] =
        {
            publisherId = "com.adjust",
            supportedPlatforms = { 
                iphone={url="https://vlad-test.s3.amazonaws.com/plugin_adjust-iphone.tgz"},
                ["iphone-sim"]={url="https://vlad-test.s3.amazonaws.com/plugin_adjust-iphone-sim.tgz"},
            }
        },
    }
Shchvova commented 4 years ago

To be clear, this is infrastructure only change. It only adds 2 new files to output when plugin/ios/build.sh is called to BuiltPlugin directory. Those files can be uploaded to server and used in builds directly in Corona Simulator as per the code snippet. I used my s3 bucket for the upload in that case.