Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS - use of @import when modules are disabled error

I am receiving this error when using the DCPathButton library (through podspec).

Modules are enabled in my project settings. Do i need to do anything else to enable modules in pods?

like image 425
Erik Sapir Avatar asked Dec 15 '14 07:12

Erik Sapir


1 Answers

If "Link Frameworks Automatically" is already set to YES in the Build Settings, you have to set "Enable Modules (C and Objective-C)" as well.

like image 60
Marcus Franzen Avatar answered Oct 16 '22 23:10

Marcus Franzen