使用codesign命令查看应用签名信息

  1. 使用codesign命令查看微信app签名信息
codesign -vv -d WeChat.app  

输出

Executable=/Users/fengyn/learn/WeChat.app/WeChat
Identifier=com.tencent.xin
Format=app bundle with Mach-O thin (arm64)
CodeDirectory v=20500 size=4816347 flags=0x0(none) hashes=75250+7 location=embedded
Signature size=4390
Authority=Apple iPhone OS Application Signing
Authority=Apple iPhone Certification Authority
Authority=Apple Root CA
Info.plist entries=82
TeamIdentifier=88L2Q4487U
Sealed Resources version=2 rules=26 files=2775
Internal requirements count=1 size=96
  1. 使用security find-identity命令查看macOS上安装的可用于签名的证书
security find-identity -v -p codesigning 

输出

  1) 947FA29542902B56703C95EA71A7C1E328F41E39 "Apple Development: Yongning Feng (5HZ6VMB867)"
     1 valid identities found

你可能感兴趣的:(使用codesign命令查看应用签名信息)