我得到这个错误,而我试图调试我的应用程序上的设备。

我创建了开发配置文件,正如开发人员门户中提到的那样。在概要文件中选择了我的开发设备,我正在从Target的代码签名标识菜单中选择正确的概要文件。我重新创建配置文件几次,也删除和重新安装它,并重新创建项目,但每当我尝试在设备上调试时,我都会得到它。

顺便说一句,临时分发条款概要文件可以工作。

我花了一整天的时间想找出解决办法,但一无所获。有人有办法吗?


当前回答

这可能是因为配置门户无法识别您的iphone。

解决方案:

In Xcode, Goto --> Build --> clean all targets. In "Groups & Files" -->Target --> expand it --> right click your app and select Clean "your app" Goto->Window-->Organizer In the Devices tab on the left, select your iphone In the Provisioning section of the selected iphone delete all the current profiles (if any) Unplug your iPhone and replug it in. Goto->Window-->Organizer-->right click your iPhone -->Add device to provisioning portal Now make sure you have selected the appropriate code signing identity in edit project settings -> build --> code signing

构建并运行。

其他回答

这可能是因为配置门户无法识别您的iphone。

解决方案:

In Xcode, Goto --> Build --> clean all targets. In "Groups & Files" -->Target --> expand it --> right click your app and select Clean "your app" Goto->Window-->Organizer In the Devices tab on the left, select your iphone In the Provisioning section of the selected iphone delete all the current profiles (if any) Unplug your iPhone and replug it in. Goto->Window-->Organizer-->right click your iPhone -->Add device to provisioning portal Now make sure you have selected the appropriate code signing identity in edit project settings -> build --> code signing

构建并运行。

我在iOS的Adobe Air中编译我的应用程序,而不是Xcode。我试图使用iTunes复制。ipa,并得到了一个神秘的“安装应用程序错误”消息。直到我使用iPhone Configuration Utility (iCU),我才得到真正的错误消息。

问题是,我在编译应用程序时使用了一个用于临时分发的配置文件和一个用于开发的证书。我不明白有两种类型的证书和两种类型的配置文件。各有一个用于开发,一个用于分发。如果不匹配……然后就会得到错误消息。一旦你理解了它,这是显而易见的……

解决方案是下载分发证书(.cer),双击打开Keychain,并直接从KC导出为P12。然后在发布设置(Flash IDE或Flash builder)中使用P12分发证书,并使用用于临时分发的配置文件(.mobileprovision)。最后,使用iPhone Configuration Utility安装配置文件和.ipa文件。

这对我很有帮助。

用Xcode 6和一个新设备:

按cmd + shift + 2打开设备。 按下“注册设备”按钮。如果没有这样的按钮(如截图所示),请访问developer.apple.com并手动添加。将标识符复制到字段中。 进入Xcode -> Preferences -> Accounts ->双击你的账户->按左下角的刷新按钮刷新配置文件 转到代码签名并设置新的配置文件。

将配置文件更改为自动然后运行提示Xcode“修复”这个问题。然后我更改回我最初的配置配置文件,一切都工作正常。

我也遇到过同样的问题,可能还有其他原因:

While testing i set my date to some future date and profile got expired. As result this issue was generated.

But i solved by setting date of iphone to current date as a result profile was not expired.