Skip to content

Adding an Entitlements.plist breaks the iOS project #3715

Closed

Description

Description

Adding an Entitlements.plist into the iOS subdirectory causes the project build to fail with a "Could not find any available provisioning profiles for {project} on iOS." error for some reason. Removing it results in success.
It's also unclear whether resolving the bundle for secure access works through the same notation as in Xamarin.

<key>keychain-access-groups</key>
	<array>
		<string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
	</array>

Steps to Reproduce

  1. Create an empty MAUI project;
  2. Create an Entitlements.plist inside the iOS directory.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>

</dict>
</plist>
  1. Witness the build fail as it is present.

Version with bug

Preview 10 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

Latest releases shipped with VS2022 Preview 1.1

Did you find any workaround?

No response

Relevant log output

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area-single-projectSplash Screen, Multi-Targeting, MauiFont, MauiImage, MauiAsset, Resizetizerp/3Work that is nice to haveplatform/iOS 🍎platform/macOS 🍏macOS / Mac Catalysts/verifiedVerified / Reproducible Issue ready for Engineering Triaget/enhancement ☀️New feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions