When I import the framework with Cocoapods to my Swift project, build fails with "Include of non-modular header inside framework module 'MQTTClient.MQTTClient'" and "Redefinition of 'xxx'" errors, as seen below:
Environment
Operating system: iOS
Package Manager: CocoaPods
MQTTClient version: pod 'MQTTClient', '0.15.3'
Steps to reproduce
Add below line to Podfile and build project:
pod 'MQTTClient', '0.15.3'
Other information
If I remove the #import "MQTTClient.h" line from MQTTClient-umbrella.h file, build succeeds and everythings works fine.
Short description
When I import the framework with Cocoapods to my Swift project, build fails with "Include of non-modular header inside framework module 'MQTTClient.MQTTClient'" and "Redefinition of 'xxx'" errors, as seen below:
Environment
Steps to reproduce
Add below line to Podfile and build project:
pod 'MQTTClient', '0.15.3'
Other information
If I remove the
#import "MQTTClient.h"
line from MQTTClient-umbrella.h file, build succeeds and everythings works fine.