I believe I found the issue but I don’t understand...
# multiplatform
c
I believe I found the issue but I don’t understand what’s happening. If you are having anything like: https://kotlinlang.slack.com/archives/C3PQML5NU/p1614020982026500 Just add export JAVA_HOME=$(/usr/libexec/java_home -v) before your Xcode scripts and everything will work fine.
Copy code
export JAVA_HOME=$(/usr/libexec/java_home -v)
cd "$SRCROOT/.."
./gradlew :common:packForXCode -PXCODE_CONFIGURATION=${CONFIGURATION}
or with PODs
Copy code
export JAVA_HOME=$(/usr/libexec/java_home -v)
set -ev
REPO_ROOT="$PODS_TARGET_SRCROOT"
"$REPO_ROOT/../gradlew" -p "$REPO_ROOT" :common:syncFramework