キーチェーンアクセスから "Apple Development IOS Push Service"証明書をエクスポートし、デスクトップに "apns-dev-cert.p12"を保存しました。私は、端末が常に言って、なぜ私が「理解できない私は、ターミナルでMacの端末アプリを使用して.p12ファイルを.pemに変換する "No such file or directory"エラー?
1.V******-Ms-iMac-2:~ c*****$ openssl pkcs12 -in apns-dev-cert.p12 -out apns-dev-cert.pem -nodes -clcerts
Response : Error opening input file apns-dev-cert.p12
Certificates.p12: No such file or directory
2.V******-Ms-iMac-2:~ c*****$ openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
Response : Error opening input file apns-dev-cert.p12
Certificates.p12: No such file or directory
3.V******-Ms-iMac-2:~ c*****$ ls
All_iOS_Applications_Document.doc Pictures
AppStoreSubmissionSteps.doc Public
Desktop Sites
Documents Softwares
Downloads Untitled.txt
Dropbox pic
Library pic.zip
Movies pricelist.txt
Music sms.txt
Nana_User_Case_Documents.odt
4. V******-Ms-iMac-2:~ c*****$ cd
5.V******-Ms-iMac-2:~ c*****$ cd/Users/c*****/Desktop/A
-bash: cd/Users/c*****/Desktop/A: No such file or directory
をこれらのコマンドを使用している、ターミナルアプリからapns-dev-cert.p12 to apns-dev-cert.pem
を変換する
http://bhaveshkumbhani.blogspot.in/2011/12/convert-p12-to-pem-for-apns.html
http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12
Apple Document RemoteNotificationPG.pdf
をこれらのブログに従っているApple Push Notification
を有効にしますそのようなファイル、又はディレクトリはありません"?。私のMacに.p12ファイルを保存する必要があるのはどこですか?
Terminal app Version 2.1.2 (273.1). Mac OS X version 10.6.8
を使用しています。
私は何をする必要がありますか? .pemファイルを使用してAPNSを有効にする必要があります。私を助けてください。前もって感謝します。
EDIT:
cd /Users/creagx/Desktop/A (Space between cd and Slash: cd[SPACE]/Users/creagx/Desktop/A
は "という名前のフォルダがある場合:
私はどこでもMy Macのターミナルアプリで試してみましたRaywenderlich.com termialコードを追加している中で
1. V******-Ms-iMac-2:~ c*****$ pwd
/Users/creagx
2. V******-Ms-iMac-2:~ c*****$ cd/ Users/creagx/Desktop/A
-bash: cd/: No such file or directory
R uはrayWenderLichチュートリアルを以下に上に行きますか? – Deviator
はい私はチュートリアルに従っています。私は.pemファイルを作成するための手順を試したが、それは私のために働いていない。 –
正しいディレクトリに変更しましたか?あなたがいる場所を確認するには "pwd"と入力してください。 – Maffo