Swift inspections not working

Answered

Hi,

I'm running the latest version of AppCode (AppCode 2017.2.3 Build #OC-172.4155.34). But Swift inspections do not work. They're turned on but I have to compile the code to actually see compiler warnings and errors.

The same inspections work fine in XCode (Version 8.3.3 (8E3004b)).

I've tried removing AppCode, deleting all of it's preferences and cache and even restarting my computer. But nothing makes any difference.

Any ideas?!

2 comments
Official comment

Try to build the target against iOS device and reopen .swift file - it should help.

Strangely that seems to have fixed the issue... Thanks!

0

Please sign in to leave a comment.