iOS CocoaPods - how to resolve “use of '@import' when modules are disabled” error?

前端 未结 3 629
情歌与酒
情歌与酒 2021-01-18 05:19

I\'m seeking how to resolve \"use of \'@import\' when modules are disabled\" when adding Google Analytics through cocoapods:

pod \'Google/Analytics\', \'~>         


        
3条回答
  •  庸人自扰
    2021-01-18 05:24

    In Xcode, just set Enable Modules (C and Objective-C) to Yes in Build Settings:

提交回复
热议问题