Had a similar issue running the iOS app from android studio today and this had me in the right track. We use asdf for our java version management for our repos, and the manifest of the ios app somehow picked up the .asdf java home version and hardcoded it to the project. I then uninstalled asdf, installed the version of java I wanted to use in the JavaVirtualMachines folder, and had to manually change the manifest files of the project to get android studio to finally build and launch the ios simulator...