Google Admob Use of ‘@import’ when modules are disabled
Modules are by default enabled in new Xcode projects. For existing projects, go to the "Build Settings" and set "Enable Modules" to YES:
enter image description here
If you set "Link Frameworks Automatically" to YES as well then all imported frameworks are automatically added to the link libraries.
A good overview of the @import compiler feature is