【问题标题】:Changing MyApp-Info.plist gives an error更改 MyApp-Info.plist 会出错
【发布时间】:2023-03-16 12:40:01
【问题描述】:

我已使用 TextEdit 将此行添加到我的应用程序 .plist 中。我将启用 iTunes 文件共享:

<key>UIFileSharingEnabled</key>
<string>YES<string/>

导致这个错误:“couldn't parse contents of '/Users/me/Desktop/MyApp/MyApp-Info.plist': Encountered unexpected character s on line 31”

我写在其他键之后和之前

</dict>

【问题讨论】:

    标签: objective-c ios info.plist


    【解决方案1】:

    &lt;string/&gt; 更改为&lt;/string&gt;,你应该会很好

    【讨论】:

      猜你喜欢
      • 2023-03-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-23
      • 2017-10-06
      • 2012-04-21
      • 2011-10-18
      • 1970-01-01
      相关资源
      最近更新 更多