Xcode 11.1 Image released

We have released an Xcode 11.1 GM image today. You can select the image by adding the following to a job in config.yml :

macos:
  xcode: 11.1.0

The changes from the Xcode 11.0 image are:

  • Xcode is now 11.1 build version 11A1027
  • The default shell is now a login shell. This will mean that .bash_profile is executed for every step.
  • The Xcode 11 CLI tools are installed (version 11.0.0.0.1.1567737322)
  • Added iOS 13.1 simulators for iPhone 8 and iPhone 8 Plus
  • Ruby versions available via chruby are now 2.5.6 and 2.6.4

Minor changes:

  • Cocoapods is now 1.8.0

The full manifest of the installed software and SDKs is available here .

Upcoming deprecations / changes

2 Likes

Build is still failing for me in during the bundle install. Using 10.2.1 is working for me.

An error occurred while installing json (2.2.0), and Bundler cannot
continue.
Make sure that `gem install json -v '2.2.0' --source 'https://rubygems.org/'`
succeeds before bundling.
1 Like

Is 11.0.0 not supported anymore? My build failed because it couldn’t find that version. 11.0.0 is currently the officially released Apple version.

Yes there should be no change to 11.0.0 - I just ran a build on it myself a minute ago.

Can you share the build URL or email support@ please?

Build is still failing for me in during the bundle install. Using 10.2.1 is working for me.

An error occurred while installing json (2.2.0), and Bundler cannot
continue.
Make sure that `gem install json -v '2.2.0' --source 'https://rubygems.org/'`
succeeds before bundling.

We also faced with this error :frowning:

Can you share a build URL or reach out to support@ please? I’d need more context to be able to debug the issue.

1 Like

This marks the end of all the ruby header issues. Thanks team!

1 Like

Unfortunately, it seems the SSH bug is still present in Xcode 11.1.

I haven’t tried any workarounds yet as it’s not a pressing matter for me, but I’m a bit disappointed this is still an issue.

EDIT: Found a bit of time and played with it. Switching all repos (except private ones) to https and adding an ssh key for the private ones works.

@sharplet is this git config run step still working for you to fix the authentication failure when trying to build an Xcode project that uses SPM to manage Swift packages?

I ask, because I haven’t been able to get this workaround to work :(.

@jasonzurita Yeah as far as I’m aware it was still working. All my dependencies are public repos though, so I’m not sure how I would have gotten private repos working.

It should work without that change to the git configuration, as long as all your public dependencies are set to https and you don’t forget to add a user key for your private ones (which can stay over ssh).

I’ve got that working now without issues.

Yes, that did the trick — I totally missed the public dependency being set to https in Xcode!

Thanks!

Hello, I have a problem with latest Xcode 11.0, 11.1 images, I always get error

The following build commands failed:
	CompileC /Users/distiller/Library/Developer/Xcode/DerivedData/Brandgility-ccncokfacuuibwcjplhtkspodqby/Build/Intermediates.noindex/ArchiveIntermediates/Brandgility/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Yoga.build/Objects-normal/armv7/experiments.o /Users/distiller/mobile-web-app/node_modules/react-native/ReactCommon/yoga/yoga/internal/experiments.cpp normal armv7 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
[00:07:14]: Exit status: 65
[00:07:14]: 
[00:07:14]: Maybe the error shown is caused by using the wrong version of Xcode
[00:07:14]: Found multiple versions of Xcode in '/Applications/'
[00:07:14]: Make sure you selected the right version for your project
[00:07:14]: This build process was executed using '/Applications/Xcode-11.1.GM.Seed.app'
[00:07:14]: If you want to update your Xcode path, either
[00:07:14]: 
[00:07:14]: - Specify the Xcode version in your Fastfile
[00:07:14]: ▸ xcversion(version: "8.1") # Selects Xcode 8.1.0
[00:07:14]: 
[00:07:14]: - Specify an absolute path to your Xcode installation in your Fastfile
[00:07:14]: ▸ xcode_select "/Applications/Xcode8.app"
[00:07:14]: 
[00:07:14]: - Manually update the path using
[00:07:14]: ▸ sudo xcode-select -s /Applications/Xcode.app
[00:07:14]: 

I’m deploying ios app with latest Fastlane v2.131.0

Xcode image 10.2.1 works fine.

I tried to specify Xcode version with
xcversion(version: “11.1”)
or
sudo xcode-select -s /Applications/Xcode.app

But nothing happen.
Could you please check this issue?
Thank you

Does this image include 12.2 (instead of 12.4) for the Swift AIB compatibility?

FWIW, I’ve just confirmed that I no longer need to use my gitconfig workaround to access public repos.

Apple have released Xcode 11.1 to the App Store, and it’s the same as the GM version. I’ve updated the title of this post and our docs to match that. We are not going to release a new version of the image at this time.

Hi

Iam facing the same issue in circleci for Xcode 11.0 and fastlane v2.130.0. Are you able to resolve it ? If yes, could you please share the steps ? Works fine in local m/c

(1 failure)
[22:02:50]: Exit status: 65
[22:02:50]:
[22:02:50]: Maybe the error shown is caused by using the wrong version of Xcode
[22:02:50]: Found multiple versions of Xcode in ‘/Applications/’
[22:02:50]: Make sure you selected the right version for your project
[22:02:50]: This build process was executed using ‘/Applications/Xcode-11.GM.Seed.2.app’
[22:02:50]: If you want to update your Xcode path, either
[22:02:50]:
[22:02:50]: - Specify the Xcode version in your Fastfile
[22:02:50]: ▸ xcversion(version: “8.1”) # Selects Xcode 8.1.0
[22:02:50]:
[22:02:50]: - Specify an absolute path to your Xcode installation in your Fastfile
[22:02:50]: ▸ xcode_select “/Applications/Xcode8.app”
[22:02:50]:
[22:02:50]: - Manually update the path using
[22:02:50]: ▸ sudo xcode-select -s /Applications/Xcode.app

Thanks