krzyzanowskim / OpenSSL

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

Can't build latest version (5006) with Xcode 15.4 #219

Closed cherpake closed 6 days ago

cherpake commented 1 week ago

Getting this message:

Include of non-modular header inside framework module 'OpenSSL.e_os2': '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/inttypes.h'

krzyzanowskim commented 1 week ago

it's complicated. It seems to depend on projects. I'm still investigating headers and checking if I can adjust it to please all systems. For now CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES seems to help

https://github.com/krzyzanowskim/OpenSSL/pull/215#issuecomment-2200892383

krzyzanowskim commented 1 week ago

give a try to 3.1.5007I just released and let me know it it fixed it on your end.