Swift inspections not working



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?!

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!


I'm having the same problem with 3rd party frameworks and such.  Works fine in Xcode but not in AppCode.  I'm new to AppCode (evaluating it) so trying to figure this out.  I tried building for my target sim, etc. but it still won't pick up anything.


>I tried building for my target sim

Have you tried to build the target for device or simulator? Building for device should help in general - in case it doesn't, try cleaning build folder & re-build for device once again.


It eventually started working.


Please sign in to leave a comment.