docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Generate

    Generate(string, string)

    Generates a new instance of MobileBuildReeport.

    Declaration
    public static MobileBuildReport Generate(string buildPath, string outputPath = null)
    Parameters
    Type Name Description
    string buildPath

    The path to the labelled build (.apk or .ipa bundle).

    string outputPath

    The path where the report json should be saved. If not specified, the file will be saved in the location specified in ProjectSettings > MobileBuildReport.

    Returns
    Type Description
    MobileBuildReport

    An instance of the MobileBuildReport class that contains the information about the build.

    Exceptions
    Type Condition
    FileNotFoundException

    Thrown if the build bundle is not found.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)