Vladimir Vainer
08/27/2023, 1:16 PMpackage = MyKit
language = Objective-C
modules = MyKit
linkerOpts = -framework CoreBluetooth -framework Foundation
depends = Foundation CoreBluetooth
I've found that MyKit-Swift.h file has the following block:
#if defined(__OBJC__)
#if __has_feature(objc_modules)
#if __has_warning("-Watimport-in-framework-header")
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
#endif
@import CoreBluetooth;
@import Foundation;
@import ObjectiveC;
#else
#error ("No imports for you :(") //<------------- I've added this line, and now, this is the error message.
#endif
Please help :)Vladimir Vainer
08/27/2023, 1:40 PM