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? 回答1: 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. 回答2: Set the "Link Frameworks Automatically" to YES 来源: https://stackoverflow.com/questions/27479248/ios-use-of-import-when-modules-are-disabled-error