简体   繁体   中英

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

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.

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

Note that Product Name differs from Display Name which is displayed below app icon as your app name.

So don't worry about changing Product Name requires change your app name, just choose an ascii name and error gone

在此处输入图片说明

  1. Follow the steps to fix the issues.

Press add to open a window

enter image description here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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