![](https://harublog.site/wp-content/uploads/2020/03/IMG_2679-scaled.jpg)
どうもハルです。
今回は、Apple DeveloperでIdentifiers登録してプロファイルを作成する方法を紹介します。
ステッカー作成に必要な情報を、Apple Developerに登録、Xcodeで必要なプロファイルを作成、macにダウンロードします。
・identifiersの登録
・Devicesの登録(2回目以降やらない)
・Profileの作成
![](https://harublog.site/wp-content/uploads/2020/07/mn-0.jpg)
Apple DeveloperでIdentifiers登録してプロファイルを作成
![Apple DeveloperでIdentifiers登録してプロファイルを作成する方法。](https://harublog.site/wp-content/uploads/2020/07/00-8.png)
Apple DeveloperでIdentifiersの登録をして、プロファイル(Profile)を作成します。▲
プロファイルは、Xcodeでステッカーを作成して、最後アップロードする時に、ステッカーデータと一緒に添付します。
プロファイルの中には、ステッカーを識別するための情報(Identifier)を登録します。
初心者にとってはやや難しいので、画像を使って解説していきます。
Identifiersの登録【毎回必要】
![](https://harublog.site/wp-content/uploads/2020/07/mn-1-1.jpg)
Identifierは、本体用とステッカーパック用の登録をします。
まず、Apple DeveloperのIdentifiersを開く
本体用のIdentifiersを登録する
①[ + ]ボタンをクリック 。▼
![](https://harublog.site/wp-content/uploads/2020/07/01-7.jpg)
②「App IDs」 を選んで [Continue]。▼
![](https://harublog.site/wp-content/uploads/2020/07/02-11-1024x708.jpg)
③[App]を選んで[Continue]。▼
![](https://harublog.site/wp-content/uploads/2020/07/03-18-1024x658.jpg)
![](https://harublog.site/wp-content/uploads/2020/03/IMG_2679-scaled.jpg)
DescriptionとBundle IDを入力していくよ。
④DescriptionとBundle IDを入力
あらかじめ「プロダクト名」と「組織名」を考えておきます。
プロダクト名 : kigurumikuma
組織名 : harusuzu
「着ぐるみクマ(kigurumikuma)」というステッカーを作成する予定です。▼
![](https://harublog.site/wp-content/uploads/2020/07/IMG_4387.png)
Identifierは、ドメインを逆にしたような形式になります。
Description(説明)は、XCを先頭に付け ” “(空白)で区切って入力。
Bundle IDは、XCを付けず ” . “(ドット)で区切って入力。
・Description:XC aa bb cc
・Bundle ID:aa.bb.cc
“aa”部分にcom (jp netとかでもOK)、”bb”部分に組織名、”cc”部分に:プロダクト名を入力するとこのようになります。↓
com/組織名/プロダクト名
入力例
Description:XC com harusuzu kigurumikuma
Bundle ID:com.harusuzu.kigurumikuma
Capabilitiesはいじらない、Explicitにチェックを入れ、入力できたら[Continue]。▼
![](https://harublog.site/wp-content/uploads/2020/07/IMG_5129-1024x706.jpg)
⑤内容を確認して、[Register]で登録。▼
![](https://harublog.site/wp-content/uploads/2020/07/05-14-1024x707.jpg)
⑥本体用のIdentifierrsが登録できました。▼
![](https://harublog.site/wp-content/uploads/2020/07/06-14-1024x657.jpg)
![](https://harublog.site/wp-content/uploads/2020/03/IMG_2679-scaled.jpg)
次に、ステッカーパック用のIdentifiersを登録するよ。
ステッカーパック用のIdentifiersを登録する
①~⑥の要領で、ステッカーパック用のIdentifiersを登録。
DescriptionとBundle IDのところだけ、入力が変わります。
ステッカーパック用は最後に「StickerPackExtension」という文字列を必ず入力します。
Description:XC aa bb cc StickerPackExtension
Bundle ID:aa.bb.cc.StickerPackExtension
入力すると、このようになります。↓
com/組織名/プロダクト名/StickerPackExtension
入力例
Description:XC com harusuzu kigurumikuma StickerPackExtension
Bundle ID:com.harusuzu.kigurumikuma.StickerPackExtension
Capabilitiesはいじらない、Explicitにチェックを入れ、入力できたら[Continue]。▼
![](https://harublog.site/wp-content/uploads/2020/07/IMG_5138-1024x705.jpg)
入力したら[Register] で登録。
これで「本体用」と「ステッカーパック用」2つのIdentifiersが登録できましした。▼
![](https://harublog.site/wp-content/uploads/2020/07/08-17-1024x658.jpg)
Devices(デバイス)の登録【2回目以降必要なし】
![](https://harublog.site/wp-content/uploads/2020/07/mn-2.jpg)
Apple Developerに手持ちのデバイスを登録しておくことで、Xcodeで作成したアプリをデバイス本体にインストールしてテストすることができます。
![](https://harublog.site/wp-content/uploads/2020/03/IMG_2679-scaled.jpg)
まずは、手持ちのデバイスの「UDID(識別子)」を確認するよ。
①iPhoneをmacに接続
②iTunesを起動
③[概要]>[シリアル番号]の文字をクリック
④[UDID(識別子)]が表示される
UDIDを、[Control+クリック(または右クリック)]でクリップボードにコピー。▼
![](https://harublog.site/wp-content/uploads/2020/07/09-16-1024x647.jpg)
![](https://harublog.site/wp-content/uploads/2020/03/IMG_2679-scaled.jpg)
次にApple Developerで、デバイスのUDIDの登録するよ。
Apple DeveloperのDevices を開く。
[Device]>[ + ]ボタンをクリック。▼
![](https://harublog.site/wp-content/uploads/2020/07/IMG_5135.jpg)
Device Nameにデバイス名、Device ID欄にUDIDを入力
[Continue]をクリック。▼
![](https://harublog.site/wp-content/uploads/2020/07/11-12-1024x653.jpg)
内容を確認して[Register]をクリック。▼
![](https://harublog.site/wp-content/uploads/2020/07/12-13-1024x654.jpg)
登録完了、[Done]で閉じる。▼
![](https://harublog.site/wp-content/uploads/2020/07/13-11-1024x654.jpg)
![](https://harublog.site/wp-content/uploads/2020/03/IMG_2679-scaled.jpg)
最大100台のデバイスを登録できるよ。
Profile(プロファイル)の作成【毎回必要】
![](https://harublog.site/wp-content/uploads/2020/07/mn-3.jpg)
プロファイルを作成して、macに保存。
Apple DeveloperのProfiles で、プロファイルを作成する。(毎回必要)
![](https://harublog.site/wp-content/uploads/2020/03/IMG_2679-scaled.jpg)
「ステッカー用」と「ステッカーパック用」2つのプロファイル作成するよ。
①[Profiles]>[ + ]をクリック。▼
![](https://harublog.site/wp-content/uploads/2020/07/14-8.jpg)
②Distributionの「App Store」にチェックを入れて [Continue]。▼
![](https://harublog.site/wp-content/uploads/2020/07/15-7-1024x712.jpg)
③先ほど作った Identifiers を、App IDのプルダウンで選択して [Continue]。▼
![](https://harublog.site/wp-content/uploads/2020/07/16-5-1024x710.jpg)
④Certificate(証明書)の名前にチェックをして [Continue]。▼
![](https://harublog.site/wp-content/uploads/2020/07/17-5-1024x664.jpg)
⑤「Provisioning Profile Name」にBundle IDと同じ文字列を入力。
入力例
com.harusuzu.kigurumikuma(本体用)
com.harusuzu.kigurumikuma.StickerPackExtension(ステッカーパック用)
を入力して [Generate]。▼
![](https://harublog.site/wp-content/uploads/2020/07/18-4-1024x662.jpg)
内容を確認して[Download]。▼
![](https://harublog.site/wp-content/uploads/2020/07/19-2-1024x659.jpg)
本体用を作成したら[All Profile]で最初に戻って、同じ手順でステッカー用のプロファイルをダウンロードします。
ダウンロードしたプロファイルは、ステッカー作成時(最後にXcodeでアーカイブをアップロードする時)に使います。
・「本体用」
・「ステッカーパック用」
2つのプロファイルを、macに保存しておく。▼
![](https://harublog.site/wp-content/uploads/2020/07/20-2.jpg)
以上、Apple DeveloperでIdentifiersの登録をしてプロファイルを作成する方法の紹介でした。
最後まで読んでいただき、ありがとうございます。
iMessageステッカー自作方法は、こちらを参考にしてください。▼
コメント
[…] 詳しい方法はこちら→【Apple Developer】Identifiers登録してプロファイルを作成 […]