此应用程序无法安装在 iOS 模拟器上,无法硬链接复制

This app could not be installed on iOS simulator, Could not hardlink copy

我注意到我的模拟器最近发生了一个奇怪的问题。每当我将 CFBundleShortVersionString 值从 2019.12 更改为 2020.1 时,就会发生此问题,如果我将其放回 2019.12 或执行 2019.13,它就可以正常工作。

我收到这条消息:

This app could not be installed at this time, Could not hardlink copy

无论我将其设置为哪个版本或设备,都是超级随机的,似乎自从我升级到 XCode 11.3

我可以清除该应用程序并且它可以运行,但这非常烦人,我宁愿不这样做。

这是这些值的样子:

<key>CFBundleShortVersionString</key>
<string>2020.1</string>
<key>CFBundleVersion</key>
<string>40</string>

我解决了我的问题,我的 InfoPList.strings 文件中有一个错误的条目,我将其删除,现在可以使用了。我删除了一个版本条目(我忘了我这样做了)和那些有兴趣知道我删除了什么的应用程序名称。