Property List 型別查驗 · 外層格式不等於值型別
XML 文字與 bplist00,承載的是同一組受限值型別。
plist 是帶有型別的值樹,不只是「一段 XML」。工具會辨識序列化外層、列出解析器實際保留的 Apple 值型別,並說明轉成 JSON 或重建 XML 時可能失去的標記與數值精度;它不是 Info.plist schema、entitlement 或簽章驗證器。
<?xml …><plist>可閱讀文字
bplist00緊湊 binary 格式
key = value; dictionary舊式 ASCII 語法
型別物件樹
Info.plist 欄位檢視站
CFBundleIdentifier · CFBundleDisplayName · Executable
CFBundleShortVersionString · CFBundleVersion
MinimumOSVersion · CFBundleSupportedPlatforms
CFBundleURLTypes · LSApplicationQueriesSchemes
NS…UsageDescription 字串
schema、entitlements 與 code signing 另行驗證
型別護照
<dict>DictionaryObjectkey 必須是字串<array>ArrayArray保留元素順序<integer>/<real>NSNumberNumber原始標記可能合併;64-bit integer 可能失去精度<date>DateDateJSON 沒有原生 Date 型別<data>DataUint8ArrayJSON 沒有原生 bytes 型別<true/>/<false/>Booleanboolean可直接表示JSON 型別申報
__plistType: date + iso8601標記物件__plistType: data + base64標記物件JavaScript Number原始標記/精度可能遺失JSON object直接映射JSON value不額外包裝Binary / XML 對照
交給原生 plutil 複核
$ plutil -lint Info.plist$ plutil -p Info.plist$ plutil -extract CFBundleIdentifier raw Info.plist$ plutil -type BuildDate Info.plist$ plutil -convert xml1 -o Info.xml.plist Info.plist