在Visual Studion 2019中找不到Xamarin iOS应用程序的任何可用配置文件
我创建了一个简单的Xamarin iOS应用程序,它使用firebase身份验证。在firebase中,我已启用电子邮件/密码身份验证。我已通过单击按钮将此代码用于用户注册:在Visual Studion 2019中找不到Xamarin iOS应用程序的任何可用配置文件,ios,xamarin,xamarin.forms,xamarin.ios,provisioning-profile,Ios,Xamarin,Xamarin.forms,Xamarin.ios,Provisioning Profile,我创建了一个简单的Xamarin iOS应用程序,它使用firebase身份验证。在firebase中,我已启用电子邮件/密码身份验证。我已通过单击按钮将此代码用于用户注册: Auth.DefaultInstance.CreateUser(email, password, (AuthDataResult authresult, NSError error) => { if(error == null) { var user = authresult.User
Auth.DefaultInstance.CreateUser(email, password, (AuthDataResult authresult, NSError error) => {
if(error == null)
{
var user = authresult.User;
if(user != null)
{
var alert = UIAlertController.Create("Alert", "Registration was Successful", UIAlertControllerStyle.Alert);
alert.AddAction(UIAlertAction.Create("OK", UIAlertActionStyle.Default, null));
PresentViewController(alert, true, null);
}
}
else
{
var alert = UIAlertController.Create("Error", error.LocalizedDescription, UIAlertControllerStyle.Alert);
alert.AddAction(UIAlertAction.Create("OK", UIAlertActionStyle.Default, null));
PresentViewController(alert, true, null);
}
});
我已在授权.plist中启用钥匙链,并在信息.plist中为自定义授权添加钥匙链,如下所示:
我无法查看任何设置配置文件。我只需要在iOS模拟器上运行这个应用程序,而不是在真正的设备上运行。因此,当我构建时,它说找不到任何可用的资源调配配置文件。我甚至无法在Xcode中创建配置文件,我收到了这个错误
我真的想在模拟器上运行这个应用程序,我真的被困在这上面了。请帮助我解决此问题。您是否已在Visual Studio中添加了apple开发者帐户?顺便说一句,看看这些线程可能会有所帮助:对我来说,在项目选项下,从iOS捆绑签名中的自定义权限字段中删除“authentications.plist”就成功了。你说你没有任何配置文件,只想在模拟器上运行,这正是我要做的。但有一个自定义的authorights.plist导致该消息出现。