question

lauditore-4562 avatar image
0 Votes"
lauditore-4562 asked ColeXia-MSFT edited

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

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



dotnet-xamarinformsdotnet-ios
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ColeXia-MSFT avatar image
0 Votes"
ColeXia-MSFT answered ColeXia-MSFT edited

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.


· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you, I've tryed to apply that tutorial, but as I don't have a physical device to plug, I don't have anything to choose in provisioning profile and signing certificate, at the signing section of the xcode project.
I would like to know if I there is any way of fill those values without having to plug any Iphone, Ipad, etc, just using the Iphone simulator.

0 Votes 0 ·

Yes.
The plugin requires keychain sharing enabled in Entitlements ,but that entitlement needs to be set in the provisioning profile as well which free provisioning does not allow , then we would need to also go to iOS Bundle Signing , select iPoneSimulator platform and set Entitlements.plist in Custom Entitlements and select our paid manual provisioning profile created under a paid Apple Developer account .”

0 Votes 0 ·

Thank you, but if I apply your suggestion, the project won't build, the error message says "Could not find any available provisioning profiles for MyProject.Ios"

It seems this feature can't be debugged without a physical Iphone / Ipad or a Apple Developer account

0 Votes 0 ·

Thank you, but if I apply your suggestion, the project won't build, the error message says "Could not find any available provisioning profiles for MyProject.Ios"

It seems this feature can't be debugged without a physical Iphone / Ipad or a Apple Developer account

0 Votes 0 ·
Show more comments