xcode 配置时未为参数“appIdName”提供值
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12884434/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
No value was provided for the parameter 'appIdName' when provisioning
提问by Stanislav Pankevich
I've just enrolled in Apple's iOS Developer Program (account type: Individual).
我刚刚注册了 Apple 的 iOS 开发人员计划(帐户类型:个人)。
In my Xcode organizer on my iPhone 4 device I click "Add device to provisioning portal" => Xcode asks my credentials => I enter them => I see "No value was provided for the parameter 'appIdName'." dialog window.
在我的 iPhone 4 设备上的 Xcode 管理器中,我单击“将设备添加到配置门户”=> Xcode 询问我的凭据 => 我输入它们 => 我看到“没有为参数‘appIdName’提供值。” 对话窗口。
What am I missing?
我错过了什么?
回答by JRG-Developer
Part of the process in Xcode's automated submitting of certificate requests is that it looks for a "Wildcard" app ID. If you're missing this (for some reason, it's created on some accounts automatically and not created automatically on others?), this automated process will likely fail.
Xcode 自动提交证书请求的过程的一部分是寻找“通配符”应用程序 ID。如果您遗漏了这一点(出于某种原因,它是在某些帐户上自动创建的,而在其他帐户上不是自动创建的?),此自动化过程可能会失败。
To fix it, try the following:
要修复它,请尝试以下操作:
1) "Revoke" any existing certificates you might have from within the developer portal
1) 从开发者门户中“撤销”您可能拥有的任何现有证书
2) Create a new "App Id"; title it "Wildcard"; and enter only " * " (without any spaces or quotes) as the suffix.
2) 创建一个新的“App Id”;将其命名为“通配符”;并仅输入“*”(不带任何空格或引号)作为后缀。
3) Try the automated certificate request from within Xcode again, and it should now work
3) 再次尝试从 Xcode 中自动请求证书,现在应该可以工作了
Cheers!
干杯!
回答by Ian L
I'm getting the same issue in Xcode. I think it's related to the wildcard app ID that Xcode creates for you. There seems to be an issue with that process that then cancels the device addition process that you're trying to complete.
我在 Xcode 中遇到了同样的问题。我认为这与 Xcode 为您创建的通配符应用程序 ID 有关。该过程似乎存在问题,然后会取消您尝试完成的设备添加过程。
You should still be able to add the device via the iOS Dev Center. Once logged in, go to the Provisioning Portal and you can add the device there.
您应该仍然可以通过iOS Dev Center添加设备。登录后,转到 Provisioning Portal,您可以在那里添加设备。
Not perfect I know, but should allow you to start building apps and testing on your device until the Xcode issue is resolved.
我知道并不完美,但应该允许您开始构建应用程序并在您的设备上进行测试,直到 Xcode 问题得到解决。
回答by Passer-by
You could avoid this problem by making App ID with wild-card id in iOS dev center.
您可以通过在 iOS 开发中心使用通配符 ID 制作 App ID 来避免此问题。
I guess Organizer could not follow the updated policy related to App ID in iOS Dev Center/Provisioning Portal.
我猜 Organizer 无法遵循与 iOS 开发中心/供应门户中的 App ID 相关的更新策略。
App ID with wild-card("*") is seems to be restricted in some function, for example, Push Notification, Game Center. and developer also seems to be required to make sure the security option for the app related to the App ID.
带有通配符(“*”)的 App ID 似乎在某些功能中受到限制,例如推送通知、游戏中心。并且开发人员似乎还需要确保与 App ID 相关的应用程序的安全选项。
回答by Stanislav Pankevich
Actually, my initial goal was to be able to test my app on iPhone device. Clicking "Add device to provisioning portal" still results into the subject error, but anyway my iPhone device have been added somehow to the Provisioning Portal and now I can see my app on iPhone (I haven't even tried to add it via iOS Dev Center). My guess is that this procedure takes multiple steps to be completed, and only the last of them still fails now, while the rest of them do succeed.
实际上,我最初的目标是能够在 iPhone 设备上测试我的应用程序。单击“将设备添加到配置门户”仍然会导致主题错误,但无论如何我的 iPhone 设备已以某种方式添加到配置门户,现在我可以在 iPhone 上看到我的应用程序(我什至没有尝试通过 iOS Dev 添加它中心)。我的猜测是这个过程需要多个步骤才能完成,现在只有最后一个步骤仍然失败,而其余步骤则成功。
回答by Javier Giovannini
In my case the provisioning profile for that application was invalid, then I did the following steps:
在我的情况下,该应用程序的配置文件无效,然后我执行了以下步骤:
- Login on Developers Portal
- Click on Certificates, Identifiers & Profiles section.
- Go to Provisioning Profiles, in the list I realized my app profile was invalid.
- Click to editit and selected the corresponding certificates (all) and devices (all).
- Download the profile and un Run. Issue solved.
- 登录开发者门户
- 单击证书、标识符和配置文件部分。
- 转到 Provisioning Profiles,在列表中我意识到我的应用程序配置文件无效。
- 点击编辑,选择对应的证书(全部)和设备(全部)。
- 下载配置文件并取消运行。问题解决了。