I have configured the test target with following command
mockingbird install --project MyDevice.xcodeproj --source MyDevice --target MyDeviceTests
In Xcode I can see that following is inset in the build phase for the test target:
mockingbird generate \
--targets 'MyDevice' \
--outputs "${SRCROOT}/MockingbirdMocks/MyDeviceTests-MyDeviceMocks.generated.swift"
The file "MyDeviceTests-MyDeviceMocks.generated.swift" generated from Xcode is 46 KB
The problem is that a mock isn't generated for all protocols
Description
I have configured the test target with following command mockingbird install --project MyDevice.xcodeproj --source MyDevice --target MyDeviceTests
In Xcode I can see that following is inset in the build phase for the test target: mockingbird generate \ --targets 'MyDevice' \ --outputs "${SRCROOT}/MockingbirdMocks/MyDeviceTests-MyDeviceMocks.generated.swift"
The file "MyDeviceTests-MyDeviceMocks.generated.swift" generated from Xcode is 46 KB
The problem is that a mock isn't generated for all protocols
If I run following command from the terminal
mockingbird generate --targets 'MyDevice' --outputs "MyDevice/MockingbirdMocks/MyDeviceTests-MyDeviceMocks.generated.swift"
then all mock is generated for all protocols and the "MyDeviceTests-MyDeviceMocks.generated.swift" generated is 262 KB
Why is there a difference?
Environment
mockingbird version
): 0.17.0swift --version
): 5.4.2.mockingbird-ignore
? No