Reputation: 63
I'm trying to deploy a Xamarin Forms project to an iPhone, but I keep on getting the build error
Failed to resolve "Plugin.Permissions.Abstractions.Permission" reference from "Plugin.Permissions.Abstractions, Version=2.2.1.0, Culture=neutral, PublicKeyToken=null" CyclePay.iOS
where the project's name is CyclePay. In response, I installed the latest version of Plugin.Permission (3.0.0.12) via Nuget, but I'm still having the same issue. Is the problem that the reference is coming from Plugin.Permissions version 2.2.1.0? If so, what should I do to resolve the issue?
Note that the project successfully deploys to Android, and also successfully deploys to an iOS simulator; it's just an actual phone I can't build for. I'm thinking it could also have something to do with the free provisioning profile and signing identity that I created specifically for this project, though I'm not sure what would actually be wrong in that realm. I'm programming in Visual Studio 2017, if that provides any useful information.
Any help would be appreciated!
Thanks,
Anoop Bhat
Upvotes: 3
Views: 2032
Reputation: 71
I updated the library that was depending on Plugin.Permissions (in my case it was Xam.Plugin.Geolocator) and that resolved the error for me.
Upvotes: 4