Skip to content

Build warnings when using the compiled framework #36

Description

@Iftahh

When I add RXPromise using Carthage to my project, and I have two build warnings.

At my workplace we enable the "Treat Warnings as Errors" flag so the RXPromise module can't be built -

<module-includes>
Umbrella header for module 'RXPromise' does not include header 'RXPromise+RXExtension.h'
Umbrella header for module 'RXPromise' does not include header 'RXSettledResult.h'
TestFile.m
Could not build module 'RXPromise' 

To reproduce simply start a new project, add RXPromise to Cartfile, run "carthage update", add the framework to the project, add #import <RXPromise/RXPromise.h> to one of the source files, enable the warnings-as-errors flag and attempt to compile.

The solution is very simple - at the bottom of RXPromise.h add:

#import "RXPromise+RXExtension.h"
#import "RXSettledResult.h"

I've verified it fixes the issue, but I'm not sure if you left those header files out of the Umbrella header on purpose for some reason

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions