iOS simulator: could not hardlink copy. Wrong path in my filesystem?
I faced this error while leaving Build field blank using only Version on General tab. The error has gone after setting a build value and reinstalling the app.
I believe the issue is exacerbated if you change your app's Info.plist from one build to the next (such as revving CFBundleVersion or similar). If you do that, you should delete the app from the simulator between each launch (either via SpringBoard or using simctl) or just erase the sim device.
This issue should be addressed in recent iOS Simulator 8.2 betas that are in Xcode 6.2 betas. I think it was addressed in either beta2 or beta3, but I can't recall for certain.
This is indeed triggered by the order of certain keys in your app's Info.plist file and what seems to be a bug in the iOS simulator's installd
process. installd
sometimes seems to be unable to read the CFBundleShortVersionString
and CFBundleVersion
values. I've found that if RoboVM makes sure to always move those values first in the Info.plist
it writes out we prevent the bug in installd
from being triggered. We have now implemented this workaround in RoboVM (see issue #771) and it will be in the next nightly build (the 20150222 build) and in the next release.
Nightly builds of RoboVM can be downloaded from http://download.robovm.org. To install a nightly build of the Eclipse plugin you should use the update site
http://download.robovm.org/nightlies/eclipse/site.xml
Nightly SNAPSHOT builds of the RoboVM Maven and Gradle plugins are pushed to Maven Central.