mockingbird icon indicating copy to clipboard operation
mockingbird copied to clipboard

Compiling TestTarget with mockingbird on Linux

Open ramonschriks opened this issue 3 years ago • 0 comments

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 avatar Jul 08 '22 13:07 ramonschriks