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

v2_migration_guide - Add note about withCheckedContinuation #310

Merged
merged 3 commits into from
Dec 3, 2024
Merged
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
5 changes: 5 additions & 0 deletions v2_MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ class MyViewController {
}
}
```
* Note about using async/await functions: Our async/await functions utilize `withCheckedContinuation`
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

### PayPalWebCheckoutClient
```swift
Expand Down