【发布时间】:2021-04-24 02:58:39
【问题描述】:
试图找出我收到以下错误的原因。
unable to read input file as a property list: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 1.)
在这一行之后
CopyPlistFile /Users/russellharrower/Library/Developer/Xcode/DerivedData/DRN1-fhqxqayjahfwlkaxifrlezidyiun/Build/Products/Debug-iphonesimulator/DRN1.app/Entitlements.plist /Users/russellharrower/Apps/vscroll/vscroll/Entitlements.plist (in target 'DRN1' from project 'DRN1')
cd /Users/russellharrower/Apps/vscroll
builtin-copyPlist --convert binary1 --outdir /Users/russellharrower/Library/Developer/Xcode/DerivedData/DRN1-fhqxqayjahfwlkaxifrlezidyiun/Build/Products/Debug-iphonesimulator/DRN1.app -- /Users/russellharrower/Apps/vscroll/vscroll/Entitlements.plist
这是为了让 CarPlay 正常工作。
权利.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.carplay-audio</key>
<true/>
<dict/>
</plist>
【问题讨论】: