简体   繁体   中英

Adding AppCentre Pod to xCode project gives import modules error

I wish to integrate AppCenter into an existing iOS ObjectiveC xCode project.

I have followed the instructions in the AppCenter project portal to add the AppCenter pod to my project:

在此处输入图像描述

I see that the AppCenter pod has been successfully installed but when I try to import itin my project like so I get an error "Use of import when modules are disabled"

在此处输入图像描述

How can I add this pod to my project successfully?

Try to select your project -> Build Settings -> Enable Modules (C and Objective-C) switch to YES

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM