We have released an Xcode 11 Beta 3 image today. You can select the image by adding the following to a job in config.yml :
macos:
xcode: 11.0.0
These are the changes in this image compared to Xcode 11.0 Beta 2:
Xcode is now version 11.0 Beta 3 Build 11M362v
Since this is a beta image, we have a reduced set of simulators, all running iOS 13. We will add more simulators to the final image.
Fixed: The Java 8 JDK is correctly installed, along with javac.
Updates:
cocoapods: 1.7.2 => 1.7.3
node: 12.4.0 => 12.5.0
yarn: 1.17.0 => 1.16.0
The full manifest of the installed software and SDKs is available here.
Known issues
There is an issue where a dialog appears for the first 30 seconds after the image boots reporting that the OS did not shut down cleanly on the last boot. This might impact UI tests. We pre-boot VMs so that builds can start as quickly as possible, so in many cases our VMs have been booted more than 30 seconds prior before to build running, which will reduce the rate of occurance of this bug.
Upcoming deprecations / changes
Python 2 will be no longer be maintained from January 2020. We plan on removing Python 2 from any images built after that date (Python 2 is being removed from homebrew).
I’ve been trying tirelessly to have the java home and path set properly for a mac os container…
if we are using version 11.0.0 should we still have to set them?
i’ve tried tons of different ways to set the paths and java --version doesn’t work
And for a little more context forgot to add— i am trying to use circleci job to run automated tests on a react-native project utilizing appium.io and webdriver.io on an ios xcode app
Which step is failing? What is the output that you are seeing, and what do you expect to see?
I copied your config and when I ran it, there was an em-dash in the command java –version rather than a hyphen java -version. Could your problem be that simple?
Good catch Marc, it was just the em-dash, appears working now in macos 11. Interesting though echoing $JAVA_HOME didnt return anything. Do you even need to set the java environment or does it default properly for 11.x.x?
We install java through homebrew using brew cask install adoptopenjdk8. We don’t do any more tweaking than that. If there are issues with the install, you might open a ticket with the adoptopenjdk8 project.
Thanks marc, we can close this ticket. I opened up a support ticket the other day in regards to all of sudden the xcode cli command to build our iOS app is timing out hoping to get some traction on, it has caused a lot of issues for us where the container just went on and ran for 5 hours every time