mockingbird
mockingbird copied to clipboard
Compiling TestTarget with mockingbird on Linux
New Issue Checklist
- [x] I updated the framework and generator to the latest version
- [x] I searched the existing GitHub issues and list of common problems
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.