Hive Hive
Sign in

error: missing required module ‘RxCocoaRuntime’

GitHub issue · Open

Metadata
Source
tuist/tuist #6430
Updated
Jun 11, 2026
Domains
Generated projects
Details

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.

Tuist4RxSwiftIssue.zip

Potential solution

No response

macOS version

14.5

Tuist version

4.18.0

Xcode version

15.3

Comments
P
pepicrft Jun 24, 2024

@chojnac thanks a lot for reporting this and including a reproducible project. We’ll look into it and provide with a solution.