You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update TCA from 0.22 to 0.25.1 in our app which has meant updating to 0.2.1 of XCTestDynamicOverlay.
Now wherever we are importing both ComposableArchitecture and XCTest (generally in helper/utility files in our test target) we are getting Ambiguous use of 'XCTFail(_:file:line:) errors in Xcode.
I'm trying to use the actual XCTFail from XCTest here as I know it is available but there doesn't seem to be a way to reference it - XCTest.XCTFail doesn't work. This leaves me with only one option and that is using XCTestDynamicOverlay.XCTFail instead. It seems a bit unnecessary to have to do this when I know the actual XCTFail is available.
I'm not sure what has changed to cause this and whether or not this is an issue with XCTestDynamicOverlay or ComposableArchitecture - I'm wondering if perhaps its the latter and TCA is now doing an @_exported XCTestDynamicOverlay somewhere that it wasn't before?
The text was updated successfully, but these errors were encountered:
I'm trying to update TCA from 0.22 to 0.25.1 in our app which has meant updating to 0.2.1 of XCTestDynamicOverlay.
Now wherever we are importing both ComposableArchitecture and XCTest (generally in helper/utility files in our test target) we are getting
Ambiguous use of 'XCTFail(_:file:line:)
errors in Xcode.I'm trying to use the actual XCTFail from XCTest here as I know it is available but there doesn't seem to be a way to reference it -
XCTest.XCTFail
doesn't work. This leaves me with only one option and that is usingXCTestDynamicOverlay.XCTFail
instead. It seems a bit unnecessary to have to do this when I know the actualXCTFail
is available.I'm not sure what has changed to cause this and whether or not this is an issue with XCTestDynamicOverlay or ComposableArchitecture - I'm wondering if perhaps its the latter and TCA is now doing an
@_exported XCTestDynamicOverlay
somewhere that it wasn't before?The text was updated successfully, but these errors were encountered: