Now I would like to migrate my ObjC framework to Swift and I got the following error:
include of non-modular header inside framework module 'SOGraphDB'
The references is to a header file which just define a protocol and I use this header file in some classes to use this protocol.
Is seems related to the module feature but it is at the moment not quite clear how to fix, do you know a solution?
UPDATE:
This is a Swift compiler error.
UPDATE 2:
A quick fix (but not solving the root cause) is to set the following setting to yes:
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…