I added a framework target in my project. But when I attempt to import the framework, the compiler will return an error
Use of '@import' when modules are disabled. I have already included the arm64 architecture in its Architectures build settings. And I can see the framework in Build Phases. I can import a framework in a new project instead of my current project. Is there any additional config I missed?
Use of ‘@import’ when modules are disabled
Error msg says you are trying to use
@import when it is disabled. Goto build settings and enable
modules or use
Enable it by changing to YES