From 73971bab05e5529a03c8037b54f71e3518077e5a Mon Sep 17 00:00:00 2001 From: Victoria Park Date: Tue, 3 Dec 2024 08:44:35 -0800 Subject: [PATCH 1/3] Add note about withCheckedContinuation in migration guide --- v2_MIGRATION_GUIDE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v2_MIGRATION_GUIDE.md b/v2_MIGRATION_GUIDE.md index a8c3cbdf..7445e53e 100644 --- a/v2_MIGRATION_GUIDE.md +++ b/v2_MIGRATION_GUIDE.md @@ -219,6 +219,11 @@ class MyViewController { } } ``` +* Note about using async/await functions: Our async/await functions utilize `withCheckedContinuation` +There were crashes reported with Xcode 16 beta 5 with earlier iOS 18 beta versions. +Also reported issues with MacCatalyst apps built with Xcode 16 and running on MacOS 14-. +The fix for MacCatalyst apps was released with Xcode 16.2 beta. +https://github.com/swiftlang/swift/pull/76218#issuecomment-2377064768 ### PayPalWebCheckoutClient ```swift From 7f4d9022c0b4906bea6d8a95a1ed0424b77c5dc9 Mon Sep 17 00:00:00 2001 From: Victoria Park Date: Tue, 3 Dec 2024 09:01:32 -0800 Subject: [PATCH 2/3] fix issue as affecting Xcode 16 beta 5+ --- v2_MIGRATION_GUIDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2_MIGRATION_GUIDE.md b/v2_MIGRATION_GUIDE.md index 7445e53e..c8c64cc4 100644 --- a/v2_MIGRATION_GUIDE.md +++ b/v2_MIGRATION_GUIDE.md @@ -220,7 +220,7 @@ class MyViewController { } ``` * Note about using async/await functions: Our async/await functions utilize `withCheckedContinuation` -There were crashes reported with Xcode 16 beta 5 with earlier iOS 18 beta versions. +There were crashes reported with Xcode 16 beta 5+ with earlier iOS 18 beta versions. Also reported issues with MacCatalyst apps built with Xcode 16 and running on MacOS 14-. The fix for MacCatalyst apps was released with Xcode 16.2 beta. https://github.com/swiftlang/swift/pull/76218#issuecomment-2377064768 From e70497ff739320c1a5f0db04c6b4bc3f57e3b690 Mon Sep 17 00:00:00 2001 From: Victoria Park Date: Tue, 3 Dec 2024 09:07:41 -0800 Subject: [PATCH 3/3] clarify issue is with withCheckedContinuation --- v2_MIGRATION_GUIDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2_MIGRATION_GUIDE.md b/v2_MIGRATION_GUIDE.md index c8c64cc4..832db835 100644 --- a/v2_MIGRATION_GUIDE.md +++ b/v2_MIGRATION_GUIDE.md @@ -220,8 +220,8 @@ class MyViewController { } ``` * Note about using async/await functions: Our async/await functions utilize `withCheckedContinuation` -There were crashes reported with Xcode 16 beta 5+ with earlier iOS 18 beta versions. -Also reported issues with MacCatalyst apps built with Xcode 16 and running on MacOS 14-. +There were crashes reported in use of `withCheckedContinuation` with Xcode 16 beta 5+ with earlier iOS 18 beta versions. +Also there were reported issues with MacCatalyst apps using `withCheckedContinuation` built with Xcode 16 and running on MacOS 14-. The fix for MacCatalyst apps was released with Xcode 16.2 beta. https://github.com/swiftlang/swift/pull/76218#issuecomment-2377064768