-
Notifications
You must be signed in to change notification settings - Fork 749
Closed as not planned
Labels
Description
Summary
Building the generated schema module in the release configuration when mocks are enabled results in a build error due to the addition of @testable imports.
Version
1.25.0
Steps to reproduce the behavior
- Clone https://github.com/jmccance/apollo-ios-3595
cd RocketResolverAPI- Try building it with
swift build -c release
Logs
[1/1] Planning build
Building for production...
/Users/jmccance/tmp/apollo-ios-odyssey/final/RocketReserverAPI/RocketReserverAPITestMocks/Launch+Mock.graphql.swift:5:18: error: module 'RocketReserverAPI' was not compiled for testing
3 |
4 | import ApolloTestSupport
5 | @testable import RocketReserverAPI
| `- error: module 'RocketReserverAPI' was not compiled for testing
6 |
7 | public class Launch: MockObject {Anything else?
No response
mccarron