Xamarin.IOS keychain enabling for ios simulator - no access to a physical device - no developer account

lauditore 6 Reputation points
2021-03-19T16:10:45.737+00:00

I'm starting my first Ios project, and my first Ios approach at all.
I've installed a nuget package on my Xamarin.Ios app, https://github.com/CrossGeeks/GoogleClientPlugin, which needs access to the keychain to properly work.
I'm getting this error "there was a problem reading or writing to the application keychain"
I'm currently at a deadlock, I don't even understand if accesing the keychain it is possible under my current circumstances:

  • I have access to a Mac for debugging on an Ios Simulator
  • No acces to a physical Ios mobile device, so I can't create a provisioning profile, which seems to be mandatory to debug the app with the keychain permission
  • I'm not registered as a Ios developer, I'm trying to test this feature using a simple apple Id like in this post https://steemit.com/xcode/@ktsteemit/xcode-free-provisioning

Any help is welcomed, even if the answer to wheter it can or can not be done is a plain NO

Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
    2021-03-22T09:32:27.973+00:00

    Hello,

    Welcome to Microsoft Q&A!

    The tutorial states that Key chain sharing on iOS, need entitlements and for that we need a valid provision profile.

    Free provisioning allows us to deploy and test apps on iOS devices without being part of the Apple Developer Program .

    Please check the Requirements and Limitations for free provisioning as well.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.