'Provisioning profile for Xamarin Forms iOS Extension
Hi all I have created a service extension project in my Xamarin forms solution.
I have enabled App Groups in Entitlements.plist in both the extension project and the main iOS project (group.co.myco.myapp).
I'm getting the following error: Error: Could not find any available provisioning profiles for OneSignalNotificationServiceExtension on iOS. (OneSignalNotificationServiceExtension)
Do you know how this can be fixed?
Update
I have enabled App Groups and added group.co.myco.myapp on the provisioning profile for my app.
I have created a new identifier (App ID) co.myco.myapp.OneSignalNotificationServiceExtension
I have also created a new provisioning profile for co.myco.myapp.OneSignalNotificationServiceExtension and enabled app groups with the same group name as (1)
Project builds, but when deploying to the device I get the following errors:
(The executable was signed with invalid entitlements.)
Your code signing/provisioning profiles are not correctly configured. Probably you have an entitlement not supported by your current provisioning profile, or your device is not part of the current provisioning profile. Please check the iOS Device Log for details (error: 0xe8008016).
Is there anythig else that can be tried?
Update 2 There was an empty string in the Entitlements file. after removing that it worked.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|