-
Notifications
You must be signed in to change notification settings - Fork 121
Troubleshooting
Q:I've installed dyci, and pressing ^X, and green dot appears, but my code isn't updated.
A:Make sure, you correctly added dyci to your project
Q:I've installed dyci, and pressing ^X, and green dot appears, And I see logs that my code is updated, but I don't see the changes.
A:If you're see logs that your code was updated - then it is updated :) But some part of your application need to call this new code. See update on injection page.
Q:I've installed dyci, and pressing ^X, and red dot appears, And I see
Couldn't load index file...
error
A:This means that file that mentioned was compiled BEFORE dyci was installed. In order to fix this issue you need to clean project, and recompile it. If you're still getting this error, feel free to post the issue with more detailed description.
If your ~/.dyci/index/ is empty, see next question.
Q: I've clean & recompiled my project, and the ~/.dyci/index/
directory is empty.
This is because Xcode is not using the clang proxy installed by dyci. Before you install dyci, you need to make sure that your system is configured to use the developer tools bundled with Xcode.
Check to see if you are using the command line developer tools bundled with Xcode. Run xcode-select -p
to see where the developer tools are installed. It should be a path within the Xcode app:
/Applications/Xcode.app/Contents/Developer
If you installed the command line tools separately, you might get this path:
/Library/Developer/CommandLineTools/
This is the wrong path. Switch to the tools bundled with Xcode.app:
xcode-select -s /Applications/Xcode.app/Contents/Developer
Then run install.sh again to reinstall dyci (remember to fix UUID issue).
Q:I've installed dyci, and pressing ^X, and red dot appears And I see
Couldn't load file Error : dlopen(.../dyci4562616.dylib, 10): Symbol not found: _OBJC_CLASS_$_Class ...
A:Make sure, that your schema build configuration is Debug, not Release. Also check "Build Settings" > "Symbols hidden by default" > NO for Debug.
Q:I've updated my Xcode to new version, and dyci stopped to work.
A:The dyci's Xcode plugin need to contain Xcode unique UUID in it's Info.plist file to work correctly. Each time Xcode updates, we need to add another one UUID to the make it work. To check, if you have this problem - exit Xcode, run Console.app, and then start Xcode. If you see something that looks like this
10/17/14 12:23:55.864 PM Xcode[856]: [MT] PluginLoading: Required plug-in compatibility UUID C4A681B0-4A26-480E-93EC-1218098B9AA0 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SFDYCIPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
then you have this problem. Create an issue and specify UUID. This will be fixed pretty fast.
Also, what you can do is just edit Info.plist at
~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SFDYCIPlugin.xcplugin/Contents/Info.plist
and add UUID by yourself.