Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rolfbjarne opened this issue Jan 11, 2024 · 0 comments
Open

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

rolfbjarne opened this issue Jan 11, 2024 · 0 comments
Labels
dotnet An issue or pull request related to .NET (6) enhancement The issue or pull request is an enhancement good first issue This is a good first issue for someone to start working with our code iOS Issues affecting iOS
Milestone

Comments

@rolfbjarne
Copy link
Member

rolfbjarne commented Jan 11, 2024

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.

@rolfbjarne rolfbjarne added enhancement The issue or pull request is an enhancement iOS Issues affecting iOS dotnet An issue or pull request related to .NET (6) labels Jan 11, 2024
@rolfbjarne rolfbjarne added this to the .NET 9 milestone Jan 11, 2024
@rolfbjarne rolfbjarne added the good first issue This is a good first issue for someone to start working with our code label Jan 11, 2024
@rolfbjarne rolfbjarne modified the milestones: .NET 9, .NET 10 Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet An issue or pull request related to .NET (6) enhancement The issue or pull request is an enhancement good first issue This is a good first issue for someone to start working with our code iOS Issues affecting iOS
Projects
None yet
Development

No branches or pull requests

1 participant