プロビジョニングプロファイルに新規端末を追加する方法
一度ビルドしたデベロッパー用アプリに新規の端末を追加する方法。
まず、新規デバイスのUDIDを登録する。
その後、iOS Dev Centerから今使っているプロビジョニングプロファイルを
クリックして「Edit」ボタンをクリックする。
![iOSdev1](http://publicroots.com/blog/wp/wp-content/uploads/2015/02/iOSdev1.png)
対応端末一覧が表示される。
先程追加した端末にチェックをいれて、「Generate」する。
こちらでiOS Dev Center上の更新は完了。
![iOSdev2](http://publicroots.com/blog/wp/wp-content/uploads/2015/02/iOSdev2.png)
Xcodeを開き、「Preferences>Accounts」から、対象となるApple IDを選んで
「View Details…」をクリック。左下のリフレッシュボタンをクリックすれば、
ローカルファイルの方も更新されます。
![xcode1](http://publicroots.com/blog/wp/wp-content/uploads/2015/02/xcode1.png)
![xcode2](http://publicroots.com/blog/wp/wp-content/uploads/2015/02/xcode2.png)
![xcode3](http://publicroots.com/blog/wp/wp-content/uploads/2015/02/xcode3.png)
その後、再びXcodeでビルドすれば、
アプリ自体にも反映されます。
参考サイトはこちら
http://mushikago.com/i/?p=3931
ちなみに、複数台同時に登録することもできるようです。
http://dev.classmethod.jp/smartphone/ios-multiple-devices/
![iosdev](http://publicroots.com/blog/wp/wp-content/uploads/2015/02/iosdev.png)
「Download sample files」よりデータをダウンロードする。
![zipdata](http://publicroots.com/blog/wp/wp-content/uploads/2015/02/zipdata.png)
ダウンロードしたデータの「multiple-device-upload-ios.txt」を開く。
![txtdata](http://publicroots.com/blog/wp/wp-content/uploads/2015/02/txtdata1.png)
ここにUDIDと名前を登録して、multiple-device-upload-ios.txtをアップロードする。