Closed jdnichollsc closed 4 years ago
Hello mate,
I'm trying to use this plugin but I'm getting an error from Xcode: error: use of '@import' when modules are disabled
error: use of '@import' when modules are disabled
My Podfile:
plugin 'cocoapods-user-defined-build-types' enable_user_defined_build_types! pod 'MySDK', :build_type => :dynamic_framework, :modular_headers => true
@import MySDK; // Use of '@import' when modules are disabled ...
Thanks in advance!
Nevermind, it was fixed by removing s.compiler_flags = '-fno-modules' from my .podspec
s.compiler_flags = '-fno-modules'
Hello mate,
I'm trying to use this plugin but I'm getting an error from Xcode:
error: use of '@import' when modules are disabled
My Podfile:
Thanks in advance!