Unused imports found


I sometimes get a wrong 'Unused imports found' warning.

When I optimize imports it states that there are no imports to be optimized, but the warning is still there. 

Running the app usually fixes this Bug.

I had this issue on different Releases including the latest EAP Release.

Tatiana Shabaeva
Comment actions Permalink
Official comment


Sorry for delayed response. Could you please share a file / sample project where the issue is reproducible?

Comment actions Permalink

I cannot provide a sample project atm, because I am not using 'Build #OC-172.2656.14, built on May 31, 2017' or newer anymore

This is due to this Bug: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000277204-AppCode-keeps-changing-fileEncoding-from-4-to-1-for-Localizable-stringsdict-file

It happened in a large scale project multiple times a day. 


Please sign in to leave a comment.