1

I have registered for Apple Developer Program. I have installed my provisioning profile and other certificates successfully. But still, I am getting error while installing the app for ad-hoc distribution.

I am not sure about this, but I am getting my company name as "CXXXXXXXXX.abc-xyz.com" in mobileProvision certificate. Although I have entered my company name as "abcxyz" in developer profile.

Now, in info.plist, I have tried many options like com.abc-xyz., com.com.abc-xyz., com.abc-xyz.com.* but none of them works.

Here's the error that I am getting while installing:

Provisioning profile specifies the Application Identifier 'abc-xyz.com' which doesn't match the current setting 'com.abc-xyz.ApplicationName'

As far as I know, I think the problem may be in my company name as it contains '-', '.' and 'com'. But I have never entered name like abc-xyz.com anywhere apart from my email address. i.e. xxx@abc-xyz.com

I don't know if I am missing something. Is there any solution for this? Plz help if you have any suggestions.

Thank you.

4

2 に答える 2

3

info.plist のバンドル ID は、プロビジョニング プロファイルのアプリ ID と一致する必要があります。プロビジョニング プロファイルに "CXXXXXXXXX.abc-xyz.com" のアプリ ID がある場合、"com.abc-xyz.ApplicationName" ではなく、"abc-xyz.com" のバンドル識別子を持つアプリのみに署名します。

プロビジョニング プロファイルのアプリ ID とバンドル ID を一致させる必要があります。これを行う 1 つの方法は、プロビジョニング プロファイルのアプリ ID を「CXXXXXXXXX.com.abc-xyz.ApplicationName」に設定することです。

ワイルドカードを使用して、会社のどのアプリでもプロビジョニング プロファイルを機能させることができます。「CXXXXXXXXX.com.abc-xyz.*」は、「com.abc-xyz.」で始まる任意のバンドル識別子と一致します。

簡単にするために、Ad Hoc プロファイルと Development プロファイルでは、文字列全体 ("CXXXXXXXXX.*") をワイルドカード化する傾向があります。

于 2009-09-14T14:32:52.957 に答える
0

プロジェクト構成でコード署名IDをいじくり回すのに、運が悪かったので1時間もかかりませんでした。ターゲットに同じ変更を加えた後、すべてが機能しました。

于 2012-11-29T19:59:07.763 に答える