-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The document "doc.swift" could not be saved. The file has been changed by another application. #6
Comments
Hmm, this plugin does not directly write to the swift file. Instead, it manipulates Xcode's text buffer. |
Just tried again, I cleared all derived cache + build files, shutdown xcode, shutdown all simulators, reopened my project, installed the plugin, restart xcode, opened appdelegate.swift, made a change, hit CMD+S, and I'm again presented with the same error. I made sure no other files were open, only my single xcode window (no simulators or anything). I (again) uninstalled the plugin, restarted xcode, and the error disappeared (after restarting xcode). Is there anything I can do to help debug it? Is it only me getting this error? |
I get the same error every time I'm trying to save. |
me too! This kind of makes the plugin a no-go... |
Do you have any other plugin installed which does something on save..? |
Just checked, not that I can tell, When I uninstalled this plugin it stopped, and when I reinstalled it started. Just went through all my installed plugins, nothing I could assume it's doing something on change, it's all editor tricks and stuff. Sorry, Wish I could replicate this, I'll try and have a go tonight and see if I can help narrow it down, can you provide any debugging tricks? - If I do manage to replicate it, can I log it somehow? |
Just reinstalled SwiftLint from alcatraz, I get another error now, when pressing save CMD+S:
I can run
I restarted xcode, and also uninstalled and reinstalled swiftlint via homebrew. I was testing to see if the same save error occurred as originally reported by me, I was unable to do that due to this error. Any ideas? |
I started using SwiftLint by realm, I thought i'd give this plugin a try. It worked fine to start with but now I keep getting the following error on save:
I also get another error I have to click through at the same time:
These were both down to this plugin, once I removed it they disappeared. I tried reinstalling and the same errors appeared again. finally, I uninstalled for the second time, restarted and the errors disappeared.
I am using XCode 7.3
Error:
The text was updated successfully, but these errors were encountered: