Nimble doesn't compile for watchOS, since throwAssertion uses an exception type that isn't available for watchOS. This has been a problem for a long time and makes it hard to use Quick and Nimble in projects and packages that target watchOS.
While a real solution may be larger undertaking (one such PR already exists), I have created a pull request that disables the part that doesn't compile. Since only throwAssertion is affected, it's a very small tweak to a single place in the library.
With this tweak, developers will get a descriptive message and have the choice to either just not unit test on watchOS or to disable tests that rely on throwAssertion. This will at least make the code compile, which will be a huge improvement.
Nimble doesn't compile for watchOS, since
throwAssertionuses an exception type that isn't available for watchOS. This has been a problem for a long time and makes it hard to use Quick and Nimble in projects and packages that target watchOS.While a real solution may be larger undertaking (one such PR already exists), I have created a pull request that disables the part that doesn't compile. Since only
throwAssertionis affected, it's a very small tweak to a single place in the library.With this tweak, developers will get a descriptive message and have the choice to either just not unit test on watchOS or to disable tests that rely on
throwAssertion. This will at least make the code compile, which will be a huge improvement.