0

どの証明書が使用されているかについてコードでテストする方法はありますか?(開発プロビジョニングプロファイルまたは配布プロファイル?)

4

1 に答える 1

1

ターミナルを開き、.appファイルを保存したフォルダーに移動します。次に、以下のコマンドを記述します。

$ codesign -d -vv YOUR_APP_NAME.app / YOUR_APP_NAME

以下のような情報を出力します。

Executable=/Users/craig/Projects/FrenzicTouch/build/Distribution-iphoneos/Frenzic.app/Frenzic
Identifier=com.iconfactory.Frenzic
Format=bundle with Mach-O thin (armv6)
...
Signature size=4331
*Authority=iPhone Distribution: The Iconfactory*
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Nov 12, 2008 1:46:07 PM
...

権限を確認してください。iPhoneディストリビューションがある場合は、ディストリビューションプロファイルで署名されています。それ以外の場合は開発者です。

于 2012-07-12T17:29:23.437 に答える