【问题标题】:unable to read input file as a property list无法将输入文件作为属性列表读取
【发布时间】: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>

【问题讨论】:

    标签: ios xcode plist


    【解决方案1】:

    因为它不是有效的 xml。更改倒数第二行:

    <dict/>
    

    收件人:

    </dict>
    

    【讨论】:

      猜你喜欢
      • 2020-11-17
      • 2022-11-30
      • 1970-01-01
      • 1970-01-01
      • 2022-06-29
      • 2012-09-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多