module - Google analytics from CocoaPods and @import error -


i'm trying ti use google analytics in app. followed instructions on google developers website. when try compile error says use of '@import' when modules disabled. thing modules enabled. i'm not using modules in app code, standard, old-fashioned #imports. google analytics library uses them. idea wrong?

i spent 4 hours in issue. fault because using objective c++ compile source. changed default 1 in build settings "according file type". okay...!! phew!!!...

compile source as

however on other hand, if need specific header or implementation files in specific language (c/c++). can changing on right column (utilities) when viewing file. never set compile source globally anymore.

type of language compile

hope helps.


Comments