dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.98k stars 1.71k forks source link

Adding aps-environment on Entitlement.plist causes Provisioning profile issues #23542

Closed hyper6teen closed 1 month ago

hyper6teen commented 1 month ago

Description

When ever I try to run the app with aps-environment on Entitlement.plist, Provisioning profile is having issue which causes the app to prompt "This app cannot be installed because its integrity could not be verified."

Steps to Reproduce

Run the app with Entitlement.plist and has aps-environment as property.

Link to public reproduction project repository

No response

Version with bug

8.0.70 SR7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.4

Did you find any workaround?

Yes, Run the app without the Entitlement.plist property aps-environment first to successfully install on the app. then Run the app again with aps-environment included.

Relevant log output

No response

dotnet-policy-service[bot] commented 1 month ago

Hi @hyper6teen. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

Zhanglirong-Winnie commented 1 month ago

This issue has been verified using Visual Studio 17.6.12 build 410 (8.0.70). Not repro on iOS platform. Deploying an application with the property aps-environment installs successfully