tdashの日記

開発やサービスに関して書いていこうと思います

Titanium mobileから実機に転送出来なくなった。doesn't match any valid certificate/private key pair in the default keychain

[ERROR] [BEROR]Code Sign error: The identity 'iPhone Developer: SUGIE TADASHI (42FRPNN1AA)' doesn't match any valid certificate/private key pair in the default keychain
突然、こんなエラーが出てTitanium mobileから実機に転送出来なくなった。f:id:tdash:20121107104329p:plain
証明書の有効期限が切れていた。

http://kentaro-shimizu.com/lecture/iphone/step3.html
しみずけんたろうさんのブログを参考にして、証明書を作り直してみる。

証明書要求作成時には通称は、developer.apple.comの自分のページに右上に表示されているWelcome, □□□□□の□□□□□を入力するのか。

証明書要求ファイルをアップロードして、証明書を作成して、ダウンロード。

xcodeに食わせて、実行してみると、

[ERROR] [BEROR]CodeSign error: Certificate identity 'iPhone Developer: □□□□□ (42FRPNN1AA)' appears more than once in the keychain. The codesign tool requires there only be one.

エラーが出た。
期限切れの証明書をキーチェインストアに残しておくと出るらしい。

古い証明書を削除したら実機転送できるようになった。

Appleの管理画面は複雑で大変だ。