Skip to content

Setting 'CreatePackage=true' for an iOS build creates a pkg #19790

@rolfbjarne

Description

@rolfbjarne

Setting CreatePackage=true for an iOS project:

<PropertyGroup>
    <CreatePackage>true</CreatePackage>
</PropertyGroup>

makes the build create a .pkg (in the _CreateInstaller target). This is rather useless, so we should make it so that the _CreateInstaller target only runs for desktop platforms.

And if the developer doesn't have /usr/bin/productbuild, then the build fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    copilot-candidatedotnetAn issue or pull request related to .NET (6)enhancementThe issue or pull request is an enhancementgood first issueThis is a good first issue for someone to start working with our codeiOSIssues affecting iOS

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions