简体   繁体   English

Xcode 8.3.2:无法硬链接复制

[英]Xcode 8.3.2 : Could not hardlink copy

I am getting this error message while trying to launch my app in simulator.尝试在模拟器中启动我的应用程序时收到此错误消息。 What is the actual issue?实际问题是什么?

在此处输入图片说明

Do below steps,执行以下步骤,

  1. Clean Build清洁构建
  2. Delete Derived Data删除派生数据
  3. Simulator (Reset Content and Settings)模拟器(重置内容和设置)
  4. Quit Xcode & Run Again退出 Xcode 并再次运行

The apps installed in the simulator could have become inconsistent.模拟器中安装的应用程序可能变得不一致。

Resetting the Content and Settings will solve the issue.重置内容和设置将解决问题。

Also try to clear Derived Data then clean and build the project.还尝试清除派生数据,然后清理并构建项目。

In my case the Build number was wrong.在我的情况下,内部版本号是错误的。 So in the Info.plist the Build number disappeared, it was blank.所以在 Info.plist 中,版本号消失了,它是空白的。

To fix this, I had to re-enter the build number.为了解决这个问题,我不得不重新输入内部版本号。 Delete the app from the simulator Then when I built the app it installed again on the Simulator and started to work fine in subsequent builds as well.从模拟器中删除应用程序然后当我构建应用程序时,它再次安装在模拟器上,并且在后续构建中也开始正常工作。

In my case this problem is caused by special character in Product Name在我的情况下,这个问题是由Product Name特殊字符引起的

Note that Product Name differs from Display Name which is displayed below app icon as your app name.请注意, Product Name不同于Display Name ,后者显示在应用程序图标下方作为您的应用程序名称。

So don't worry about changing Product Name requires change your app name, just choose an ascii name and error gone所以不要担心更改Product Name需要更改您的应用程序名称,只需选择一个 ascii 名称,错误就消失了

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM