Xcode 11: Could not build Objective-C module 'libbz2'

I have an iOS project which makes use of libbz2 and when I try to build it in Xcode 11 beta 5, I get the following errors:


/Users/.../Library/Developer/Xcode/DerivedData/.../Build/Intermediates.noindex.../Debug-iphonesimulator/libbz2.build/module.modulemap:2:12: Header '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/bzlib.h' not found


Could not build Objective-C module 'libbz2'


This project builds without errors with Xcode 10.3. Is it still possible to use this library in Xcode 11?

Xcode 11: Could not build Objective-C module 'libbz2'
 
 
Q