Tool information
Area for Triage:
Apple
Question, Bug, or Feature?:
Feature
Virtual environments affected
Can this tool be installed during the build?
I'm not entirely sure.
Tool installation time in runtime
I'm not entirely sure.
Are you willing to submit a PR?
I can try my best, would likely need some guidance though.
Hello, we have already started to work on this request. We are planning to deploy new image with Xcode 12 at the middle next week (if there is no any issues)
Awesome, thanks for the update! 馃槃 very happy to hear. Didn't see an open issue so thought I'd create one just in case.
is anyone working on xcode IDE for ubuntu? I mean if you want to be cross-platform, be cross platform ;)
@lewisdonofrio , Currently, Xcode doesn't support other platforms except MacOS. Feel free to create feature request for Apple
@lewisdonofrio if you're referring to a Swift IDE here, you can use Visual Studio code with SourceKit-LSP to get auto-complete working.
@maxim-lobanov is the current plan to support/add both the Xcode 12 beta (build 12A6159) and the Xcode 12 for macOS Universal Apps beta (build 12A8158a)? Our macOS pipelines will likely require the "macOS universal apps beta" to start testing ARM support.
@markavitale , No plans for adding Xcode 12 for macOS Universal Apps beta (build 12A8158a) for now. As I can see, It requires macOS 11.0 beta to run but we don't have plan to add new MacOS for now. Usually, we add new versions of macOS only after stable release.
Hello, new image has been deployed and Xcode 12 is available 馃殌.
We are planning to deliver all next beta versions of Xcode 12.0 in future.
@markavitale , No plans for adding
Xcode 12 for macOS Universal Apps beta (build 12A8158a)for now. As I can see, It requires macOS 11.0 beta to run but we don't have plan to add new MacOS for now. Usually, we add new versions of macOS only after stable release.
@maxim-lobanov Xcode 12 for macOS Universal Apps beta does actually run on macOS 10.15 (Catalina). It allows you to build "Universal 2" binaries that contain both ARM and Intel implementations of a Mac app. It would presumably need to be deployed side-by-side with a different path, like /Applications/Xcode_12_universal_beta.app. While you can't actually run the ARM implementations on Catalina/current hardware, you can build your universal binaries on Catalina and then test them on an ARM developer transition kit on macOS 11.0 Big Sur.
Should I log a separate issue for getting the Xcode 12 universal beta included in a future image?
Source:
Xcode 12 for macOS Universal Apps beta requires a Mac running macOS 10.15.4 or later.
I'm not able to find docs on how to select a specific Xcode version. Perhaps add a link here so that people searching for how to update an action to use Xcode 12 will find it?
I'm not able to find docs on how to select a specific Xcode version. Perhaps add a link here so that people searching for how to update an action to use Xcode 12 will find it?
It is just a simple sudo xcode-select -s {path_to_xcode} I'm sure that everyone had used it some time during iOS/macOS development 馃檪 actually to simplify the whole process (and to be able to store Xcode version on a single place) I use this action, that loads Xcode version from a file and optionally automatically selects it
@markavitale , Thanks, it looks like I have mixed up something. Yes, please log the separate issue for Xcode 12 for macOS Universal Apps beta
@paulb777 , you can simply use sudo xcode-select -s /Applications/Xcode_12.app command in your pipeline. Also you can use action to switch between pre-installed Xcode versions so you won't need to remember commands and paths :)
@maxim-lobanov Could it be that the path to Xcode 12 was updated? https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md#xcode still lists it as /Applications/Xcode_12_beta.app, but it appears to be just /Applications/Xcode_12.app now? Just like in your last comment.
I opened https://github.com/actions/virtual-environments/pull/1173 to update that in the macOS readme.
@maxim-lobanov Could it be that the path to Xcode 12 was updated? https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md#xcode still lists it as /Applications/Xcode_12_beta.app, but it appears to be just /Applications/Xcode_12.app now? Just like in your last comment.
I opened #1173 to update that in the macOS readme.
I can attest this.
- sudo xcode-select -s /Applications/Xcode_12_beta.app/Contents/Developer
+ sudo xcode-select -s /Applications/Xcode_12.app/Contents/Developer
鈽濓笍 This change fixed my workflow.
EDIT: This issue is known and will be fixed soon. See https://github.com/actions/virtual-environments/pull/1173#issuecomment-653748675 馃憤
@markavitale , No plans for adding
Xcode 12 for macOS Universal Apps beta (build 12A8158a)for now. As I can see, It requires macOS 11.0 beta to run but we don't have plan to add new MacOS for now. Usually, we add new versions of macOS only after stable release.
Any chance you add macOS 11 when it goes to public beta?
@jmjauer , Hello, we don't have plans to add macOS 11 beta (usually, we add new macOS only after stable release due to maintenance concerns). However, could you please create an issue for this request? It will help us to track popularity of this request.
cc: @alepauly
Most helpful comment
Hello, new image has been deployed and Xcode 12 is available 馃殌.
We are planning to deliver all next beta versions of Xcode 12.0 in future.