I'm using Xcode Version 6.4 (6E35b) and am trying to switch over to using modules. I have enabled modules in the build settings of both my project and target. When I replace #import <UIKit/UIKit.h> with @import UIKit; in the pch file, I get a "use of '@import' when modules are disabled" error.
I've tried cleaning and rebuilding the project, but keep getting the error.
Am I missing anything?