Couldn't load index file Error
mathieutozer opened this issue · 6 comments
Hi I'm trying this out, running the example folder. Hitting control x in xcode produces the following error however
Failed to inject code
Couldn't load index file '/Users/mtozer/.dyci/index/70b499f71e53e5ffce02104efdbdc3f4' (/Users/mtozer/code/fbobjc/VendorLib/KZPlayground/Example/KZPlayground/KZPlaygroundExample.m). Use default compilation instead
Have you seen this before?
Hitting X works for me fine.
Though, the kicker doesnt seem to work and i get the error above.
You may want to reinstall dyci and restart xcode.
No luck with reinstalling. Also sure enough /Users/mtozer/.dyci/index/ is empty
make sure xcode-select path is same as the Xcode version you are using, reinstall dyci and restart Xcode
Hah - I was literally typing 'needed to run xcode select' :)
Perhaps the install script could detect the errors earlier on in the output instead of saying that the xcode plugin was installed with a smile, but that's probably a dyci issue!
Thanks and this is so awesome!
I'm getting this same problem. I made sure the plungin got installed and reset everything, but I cannot seem to get past it. The DYCI executable is working ( fake clang ) because CTRL - X works, but when I sue kicker, it fails missing the hashed index file. Any ideas to try? I stepped through the install.sh and the python runner to no avail ...
Very useful code though, especially for sceneKit which can have a long ramp-up time.
kicker just calls the dyci script, index missing is usual when you have mismatch between xcode-select and the Xcode you are compiling the project in