How to reproduce:
1. Open the “IN-103579_2159892_PermissionTwoAppsMacOS” folder
2. Open the “PrmSampleTestA” project
3. In Build profiles select “Build”
4. Open the “PrmSampleTestB” project
5. In Build profiles select “Build”
6. Open the “PrmSampleTestA” build
7. Close the “PrmSampleTestA” build
8. Open the “PrmSampleTestB” build
9. Click the “Button”
10. Observe the application name that is requesting permissions
Expected result: Permission message is for the current app: “PrmSampleTestB wants LAN support for on set usage”
Actual result: Permission message is for the closed app: “PrmSampleTestA wants LAN support for on set usage”
Reproducible with: 2022.1.0a1, 2022.3.63f1, 6000.0.50f1, 6000.1.6f1, 6000.2.0b4
Reproducible on: macOS 15.5.0 (M1 Max)
Not reproducible on: no other environments tested
Note: In this project, Info.plist file is modified, which is unique to macOS applications