我正在读取的MacOS数据不是以XML格式,而是以其他ascii格式,而不是plist (适当列表)格式。不幸的是,当我试图解析InvalidFileException()时,它会返回InvalidFileException():addr= {City = "San Francisco Bay Area";"""
生产:
Trace
在我的项目的构建阶段,我有这样的脚本:JSON_FILE=/*****/TPC_Swift/TPC_swift/TPC_swift/Project-*****.json
# Replace this with the GOOGLE_APP_ID from your GoogleService-Info.plist=$(cat "${JSON</
我的最终结果是尝试在我的iphone和我的mac之间看到plist (我知道它是plist,因为我可以在十六进制中看到bplist00 )。执行反向十六进制转储,将文件转换为二进制文件:xxd -r Dump.txt Dump1.txt
将二进制plist转换为文本文件:plutil -convert xml1 Dump1.txtThe string is empty. / JSON error: JSON text did not start with array or