“找不到与应用程序标识符‘’匹配的有效配置文件"错误 [英] "A valid provisioning profile matching the application's Identifier '' could not be found" error

查看:63
本文介绍了“找不到与应用程序标识符‘’匹配的有效配置文件"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,我想将它放到某些 iPad 上(不是 App Store).我购买了开发者许可证,并在 Xcode 上添加了规定.现在,当我尝试为已连接到计算机的 iPad 构建应用程序时,出现错误:

I am working on an app that I would like to put onto some iPads (not the App Store). I bought the developer license, and added the provisions on Xcode. Now when I try to build the app for the iPad which I have connected to my computer, I get the error:

找不到与应用程序标识符"匹配的有效配置文件

我认为这个问题是因为我有两个不同的团队在我的 Xcode 上运行,我不知道如何指定正确的一个(一个已经过期).另外,我记得当我第一次创建我的应用程序时,我并没有真正注意公司名称"等字段,我现在可以更改吗?

I think that this problem has been caused because I have two different teams running on my Xcode, and I don't know how to specify the correct one (one has expired). Also, I remember when I first created my App that I didn't really pay attention to the fields like 'Company Name', can I change those now?

以下是我确实有的规定:

Here are the provisions I do have:

推荐答案

这是一个非常常见(至少对我而言)的错误.听起来您只是没有为您尝试放在 iPad 上的应用程序提供移动设备.每个应用标识符都需要一个 .mobileprovision 文件.至于事物的各种名称,您可以在项目的信息选项卡或 info.plist 中进行编辑.

This is a very common (to me at least) error. It sounds like you just don't have a mobile provision for the app you're trying to put on your iPad. You need a .mobileprovision file for each app identifier. As for the various names of things, you can edit them in the info tab of your project or in info.plist.

如果您的个人资料之一已过期,请将其删除,尽管这不会影响任何事情.

If one of your profiles has expired then delete it, although this shouldn't affect anything.

要获取应用的配置,请转到 Apple 配置门户并添加配置文件.然后你只需要输入所有的规范(UDID、开发证书、应用程序 ID),它就会踢出一个规定.苹果开发者网站上有一份操作指南,可用于制定规定并将其放置在应有的位置.

To get a provision for your app, go to the apple provisioning portal and add a provisioning profile. Then you just have to put all of the specifications (UDID, development cert, application ID) in and it'll kick out a provision. There's a how-to guide on the apple developer site for both making provisions and putting them where they're supposed to be.

出于某种原因,您的应用程序的标识符看起来也为空;您可以在项目的信息选项卡中更改此设置..mobileprovision 应用 ID 和您的应用 ID 必须完全匹配,否则将无效.

For some reason it also looks like your app's identifier is empty; you can change this in your project's info tab. The .mobileprovision app ID and your app's ID have to match EXACTLY otherwise nothing works.

这篇关于“找不到与应用程序标识符‘’匹配的有效配置文件"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆