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

Getting "Could not find any available provisioning profiles" when non Entitlements.plit file is added #19148

Closed
cmydur opened this issue Dec 1, 2023 · 2 comments
Labels
platform/iOS 🍎 t/bug Something isn't working

Comments

@cmydur
Copy link

cmydur commented Dec 1, 2023

Description

I'm trying to integrate MSAL ADB2C into my app, so when Entitlements.plist file is added. I get an error when trying to build the app.

Steps to Reproduce

  1. dotnet new maui
  2. Add Entitlements.plist
  3. Add anything to it e.g
    <key>keychain-access-groups</key> <array> <string>$(AppIdentifierPrefix)com.microsoft.adalcache</string> </array>

Try to

Link to public reproduction project repository

No response

Version with bug

8.0.3

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

Did you find any workaround?

No

Relevant log output

usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/17.0.8478/tools/msbuild/iOS/Xamarin.Shared.targets(1805,3): error : Could not find any available provisioning profiles fo xxxxx on iOS.
.... xxxxx.csproj::TargetFramework=net8.0-ios]
@cmydur cmydur added the t/bug Something isn't working label Dec 1, 2023
@jfversluis
Copy link
Member

If you're going to add entitlements, you will also have to go to your Apple Developer account and make sure to match the entitlements declared in the provisioning profile of your app with the entitlements that are declared in the Entitlements.plist.

More information can be found here: https://learn.microsoft.com/dotnet/maui/ios/entitlements

This is not a bug or something we can do anything about, closing as such.

@jfversluis jfversluis closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2023
@cmydur
Copy link
Author

cmydur commented Dec 1, 2023

Ok, @jfversluis are there any instructions on how to do it without VS Mac? I'm running this on Mac and using VS code

@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants