Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling TestTarget with mockingbird on Linux #308

Open
2 tasks done
ramonschriks opened this issue Jul 8, 2022 · 0 comments
Open
2 tasks done

Compiling TestTarget with mockingbird on Linux #308

ramonschriks opened this issue Jul 8, 2022 · 0 comments
Labels
framework bug Breaks tests or user testing code

Comments

@ramonschriks
Copy link

ramonschriks commented Jul 8, 2022

New Issue Checklist

Overview

We are currently using MockingBird within our Swift projects as a server-side service within a dockerized container.
Developing is done on a MacOS environment. However, the build, test and deploy phases are executed within docker containers.

We use the apple/swift 5.5.3 image for the building process, which will succeed for the main application target.
However, when running TestTargets with $swift test, the compilation fails when compiling mockingbird.

Example

[169/1197] Wrapping AST for OrderedCollections for debugging
In file included from /app/.build/checkouts/mockingbird/Sources/MockingbirdFramework/Objective-C/Bridge/sources/MKBTypeFacade.m:1:
/app/.build/checkouts/mockingbird/Sources/MockingbirdFramework/Objective-C/Bridge/sources/../include/MKBTypeFacade.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Description

Is there something i'am missing here? When executing on MacOS, its working fine.

@ramonschriks ramonschriks added the framework bug Breaks tests or user testing code label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework bug Breaks tests or user testing code
Projects
None yet
Development

No branches or pull requests

1 participant