Hey everyone, I'm trying the compose-ios-android-t...
# compose-ios
a
Hey everyone, I'm trying the compose-ios-android-template and am having an odd error with JAVA_HOME when trying to build iOS. Does this ring any bells for people?
This is how I'm setting my java home dir in my
bash_profile
But when I build, the script cocoapods uses has a different directory. Note the path in the middle of the image:
d
you may try to launch kdoctor to check it
brew install kdoctor
a
kdoctor reports everything is good!
Where is this configured/initiated from Android Studio?
There is a long list of
export SOME_VAR=<some value>
That's where the java home dir is wrong
k
kdoctor -v
will show you all found java homes for each tool
a
OH MY:
Copy code
Xcode
  ➤ Xcode (14.2)
    Location: /Applications/Xcode.app
  i Xcode JAVA_HOME: /Applications/Android <http://Studio.app/Contents/jre/Contents/Home|Studio.app/Contents/jre/Contents/Home>
Xcode has its own path 🤦‍♂️
Got it updated, thanks everyone!