Google.IOSResolver.AddPod C# (CSharp) Method

AddPod() public static method

Tells the app what pod dependencies are needed. This is called from a deps file in each API to aggregate all of the dependencies to automate the Podfile generation.
public static AddPod ( string podName, string version = null, bool bitcodeEnabled = true, string minTargetSdk = null ) : void
podName string pod path, for example "Google-Mobile-Ads-SDK" to /// be included
version string Version specification. See Pod.version.
bitcodeEnabled bool Whether the pod was compiled with bitcode /// enabled. If this is set to false on a pod, the entire project will /// be configured with bitcode disabled.
minTargetSdk string Minimum SDK revision required by this /// pod.
return void
    public static void AddPod(string podName, string version = null,
                              bool bitcodeEnabled = true,
                              string minTargetSdk = null) {
        Log("AddPod - name: " + podName +
            " version: " + (version ?? "null") +
            " bitcode: " + bitcodeEnabled.ToString() +
            " sdk: " + (minTargetSdk ?? "null"),
            verbose: true);
        var pod = new Pod(podName, version, bitcodeEnabled, minTargetSdk);
        pods[podName] = pod;
        UpdateTargetSdk(pod);
    }