Skip to content

Update the Xcode version to support Xcode 13 beta 4 #38681

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

Merged
merged 2 commits into from
Jul 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion utils/build-script
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ _SUPPORTED_XCODE_BUILDS = [
("12.3", "12C33"),
("12.4", "12D4e"),
("12.5", "12E262"),
("13.0 beta", "13A5154h")
("13.0 beta", "13A5154h"),
("13.0 beta 4", "13A5201i")
]

# -----------------------------------------------------------------------------
Expand Down
12 changes: 12 additions & 0 deletions validation-test/compiler_crashers_2_fixed/Inputs/rdar79383990.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@import Foundation;

typedef NS_ENUM(NSInteger, BackgroundActivityResult) {
BackgroundActivityResultFinished = 1,
BackgroundActivityResultDeferred = 2,
};

typedef void (^BackgroundActivityCompletionHandler)(BackgroundActivityResult result);

@interface BackgroundActivityScheduler : NSObject
- (void)scheduleWithBlock:(void (^)(BackgroundActivityCompletionHandler completionHandler))block;
@end
4 changes: 2 additions & 2 deletions validation-test/compiler_crashers_2_fixed/rdar79383990.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// RUN: %target-swift-frontend %s -emit-silgen -disable-availability-checking
// RUN: %target-swift-frontend %s -emit-silgen -disable-availability-checking -import-objc-header %S/Inputs/rdar79383990.h
// REQUIRES: objc_interop
// REQUIRES: OS=macosx

import Foundation

func test(s: NSBackgroundActivityScheduler) async {
func test(s: BackgroundActivityScheduler) async {
_ = await s.schedule()
}