In preparing PR <#3384> for review, I tried to bui...
# kotest
j
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:
Copy code
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.
s
I'll kick it off
j
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.