The tests from chapter 8, section Writing tests for Platform
, are failing for me. When I run all the tests using the command ./gradlew :shared:allTests
, it gives me this error:
> Task :shared:iosSimulatorArm64Test
Invalid device: iPhone 12
java.lang.IllegalStateException: command '/usr/bin/xcrun' exited with errors (exit code: 148)
If i try to run just the AndroidTest it gives me this error:
SUPPORTED_ABIS must not be null
java.lang.NullPointerException: SUPPORTED_ABIS must not be null
at com.raywenderlich.organize.Platform.<init>(Platform.kt:47)
For some reason, the actual PlatformTest
class in androidTest also shows this error: Actual class 'PlatformTest' has no corresponding expected declaration