本文介绍了在 xamarin for ios 上调试时找不到应用程序的有效“aps-environment"权利字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为 ios 开发 xamarin.

I am working on xamarin for ios.

它在我的旧机器上工作.但是,然后我不得不切换到新机器并为新机器重新创建所有证书和所有内容.

Its was working on my older machine. But, then i had to switch to new machine and recreate all the certificates and everything for the new machine.

我已经创建了应用 ID.然后创建了 aps 证书,然后创建了配置文件.

I have created the app ID. Then created the aps certificates and then created the provisioning profile.

在调试中,我提供了下载的配置文件.但我仍然遇到同样的错误.而且我的应用无法获取设备令牌.

In Debug I have provided the downloaded provisioning profile. But still I am getting this same error. And my app is unable to get the device token.

我从昨晚开始搜索了很多.并且做了以下事情没有成功:

I am searching a lot since last night. And have done the following things with no success:

  1. 重新生成配置文件并尝试使用新的配置文件
  2. 我还删除了应用 ID 本身.从头开始重建一切.所有证书、应用 ID、配置文件
  3. 从我的系统和设备中删除了所有配置文件.创建并安装了新的配置文件.

以上是我在搜索中发现的三种最常见的解决方案,但令我沮丧的是,没有什么对我有用.

Above are three most common solutions i found in my searches, but to my dismay nothing is working for me.

如果你有任何想法,请告诉我.我非常需要那个.它阻止我提交应用程序.

If you have any idea please throw at me. I am in a great need for that. Its holding me from submitting the app.

请帮忙.

推荐答案

问题出在 xamarin studio 本身.似乎在将稳定的 5.2/5.1 版本更新到 5.3 后,这个问题浮出水面.所以我删除了该应用程序并重新安装了它,哪个游戏我 v5.2.现在我不会更新,直到我发布我的应用程序.

The problem was xamarin studio itself. It seems that after updating form stable 5.2/5.1 version to 5.3 this issue surfaces. So i deleted the app and installed it again which game me v5.2. Now i am not udpating till i publish my app.

这个链接满是面临这个问题的人:http://forums.xamarin.com/discussion/22502/xamarin-studio-5-3-push-notification-error

This link is full of people facing this problem:http://forums.xamarin.com/discussion/22502/xamarin-studio-5-3-push-notification-error

这篇关于在 xamarin for ios 上调试时找不到应用程序的有效“aps-environment"权利字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 08:46