Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update/Add Xcode 14.3 #7479

Closed
1 of 2 tasks
kanstantsin-bucha opened this issue Apr 24, 2023 · 2 comments
Closed
1 of 2 tasks

Update/Add Xcode 14.3 #7479

kanstantsin-bucha opened this issue Apr 24, 2023 · 2 comments

Comments

@kanstantsin-bucha
Copy link

Tool name

Xcode

Tool license

default

Add or update?

  • Add
  • Update

Desired version

14.3

Approximate size

No response

Brief description of tool

The Xcode 14.3 have been released. It has updates in XCTests frameworks that fixes issues with testing async functions. (Deadlocks). It introduces a new way of waiting for expectations:

await fulfillment(of: [exp], timeout: 5)

Instead of:

wait(for: [exp], timeout: 5)

URL for tool's homepage

default

Provide a basic test case to validate the tool's functionality.

This test should compile.

import XCTest
class Tests: XCTestCase {
 func test_async_waiting() async {
    let exp = expectation(description: "Wait")
    exp.fulfill()
    await fulfillment(of: [exp], timeout: 5)
 }
}


### Platforms where you need the tool

- [ ] Azure DevOps
- [X] GitHub Actions

### Runner images where you need the tool

- [ ] Ubuntu 20.04
- [ ] Ubuntu 22.04
- [ ] macOS 11
- [X] macOS 12
- [ ] Windows Server 2019
- [ ] Windows Server 2022

### Can this tool be installed during the build?

```bash
No

Tool installation time in runtime

~30 min

Are you willing to submit a PR?

I have no idea how to do it =)

@Alexey-Ayupov
Copy link
Collaborator

Hello @kanstantsin-bucha. Clone of #7375 . Please keep an eye on our announcements about macOS 13.

@ilia-shipitsin
Copy link
Contributor

Related: #6426 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants