krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
920 stars 340 forks source link

Include of non-modular header inside framework module 'xxx' #106

Closed sh0rt2020 closed 3 years ago

sh0rt2020 commented 3 years ago

When I #import <openssl/dh.h> in my own file. It appears this message

Include of non-modular header inside framework module 'xxx'

Xcode Version: 12.3 macOS Version: 11.1

krzyzanowskim commented 3 years ago

it's a new Xcode warning that you can disable in Xcode, or try import the module at one #import <OpenSSL/OpenSSL.h>

sh0rt2020 commented 3 years ago

Yeah, I have solved this issue. My OpenSSL pod is too old.