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

Entitlements.plist is not used correctly in Debug configuration #14662

Closed
reinierkops opened this issue Apr 19, 2023 · 2 comments
Closed

Entitlements.plist is not used correctly in Debug configuration #14662

reinierkops opened this issue Apr 19, 2023 · 2 comments
Labels
platform/iOS 🍎 s/not-a-bug This isn't actually a bug, or is working as expected t/bug Something isn't working

Comments

@reinierkops
Copy link

Description

When a custom Entitlements.plist is set in csproj file, this file will not be used, and only a default (templated) Entitlements.plist will be used and generated in the obj folder as Entitlements.xcent.

All the properties set in the custom Entitlements.plist are ignored, and things like NFC access is not working.
The signed .app file has the default (templated) Entitlements file included.

Steps to Reproduce

  1. define a custom Entitlements.plist
  2. Run application on physical device
  3. see Entitlements.xcent which has not the complete content.
  4. Inspect .app file, even no correct entitlements data

Link to public reproduction project repository

n/a

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

= iOS 13

Did you find any workaround?

No response

Relevant log output

No response

@reinierkops reinierkops added the t/bug Something isn't working label Apr 19, 2023
@ramonB1996
Copy link

This also seems to be the case with 'MacCatalyst'

@reinierkops
Copy link
Author

Issue was project specific, and fixed by setting the correct TargetFrameworks in depending projects

@samhouts samhouts added the s/not-a-bug This isn't actually a bug, or is working as expected label May 15, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/iOS 🍎 s/not-a-bug This isn't actually a bug, or is working as expected t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants