XCode 12.4 Simulator Build Fail

I am having a hard time getting the simulator to build in my Xcode project.
I keep getting the following error:

Command /bin/sh failed with exit code 1

More info:

Showing Recent Issues
Looking for gradlew in /Users/jackryan/AndroidStudioProjects/test

Configure project :
Using already downloaded SDK: /Users/jackryan/.moe/moe-sdk-1.7.3
Task :compileJava FAILED
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:compileJava’.

java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x58c780ba) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x58c780ba

I have tried a lot of solutions posted on other forums with no success.
Can anyone help?

Use Java 11 or 8 instead with MOE 1.8+. Or use Java 8 if you want to stay on MOE 1.7.

Changed my MOE version to 1.8.+ and I’m on Java 8. Now I am getting the following error:

ld: warning: directory not found for option ‘-F/Users/user929106/AndroidStudioProjects/AppName/xcode/…//build/moe/sdk/sdk/iphonesimulator’
ld: can’t open -sectcreate file: /Users/user929106/AndroidStudioProjects/AppName/xcode/…//build/moe/main/xcode/Debug-iphonesimulator/x86_64.oat
clang: error: linker command failed with exit code 1 (use -v to see invocation)