Hive
error: missing required module ‘RxCocoaRuntime’
GitHub issue · Open
What problem or need do you have?
Hi, I’m trying to migrate my project from Tuist v3 to V4, and I’m having a strange problem with RxCocoa and our static libraries.
My project produces a set of frameworks, so to build frameworks, I need to use SKIP_INSTALL=NO
BUILD_LIBRARY_FOR_DISTRIBUTION=YES. In this case, targets with static libraries fail to compile at the “Verifying emitted module interface” step, and the message is - error: missing required module 'RxCocoaRuntime'.
I’ve attached an example project for your reference. When you build the ‘Lib2’ target, you’ll be able to reproduce the issue. The problem is that the RxCocoaRuntime (transient dependency from the Lib1 module) is not being discovered in the Lib2.private. swift interface, even though the map file is provided.
I appreciate any help with this issue.
Potential solution
No response
macOS version
14.5
Tuist version
4.18.0
Xcode version
15.3