02/08/2023, 9:09 PM
In preparing PR #3384 for review, I tried to build, but keep getting errors that seem unrelated to the work I did. Advise, please. Thanks! Here's an example:
Failed to execute all tests:
  :kotest-assertions:kotest-assertions-json:iosX64Test: java.lang.IllegalStateException: command '/usr/bin/xcrun' exited with errors (exit code: 148):kotest-assertions:kotest-assertions-json:watchosX64Test: java.lang.IllegalStateException: command '/usr/bin/xcrun' exited with errors (exit code: 148)
Whew! It took hours of multiple attempts waiting for the build to succeed. But finally found two solutions that got me to success: 1. Gradle needs this:
set GRADLE_OPTS=-XX:+AllowRedefinitionToAddDeleteMethods
2. Start the iOS Watch simulator before running the build.
@sam #3382 is ready for review. Thanks! Also, what's the process for getting the CI pipeline to run? I think it's not running for me because I'm a first-time contributor.


02/08/2023, 11:48 PM
I'll kick it off


02/08/2023, 11:51 PM
Is there a doc to assist others who try to build and encounter errors? If so, I could add the above for others to benefit from.