Skip to content

Commit

Permalink
v2_migration_guide - Add note about withCheckedContinuation (#310)
Browse files Browse the repository at this point in the history
* Add note about withCheckedContinuation in migration guide

* fix issue as affecting Xcode 16 beta 5+

* clarify issue is with withCheckedContinuation
  • Loading branch information
KunJeongPark authored Dec 3, 2024
1 parent 0525444 commit 8194323
Showing 1 changed file with 5 additions and 0 deletions.
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

0 comments on commit 8194323

Please sign in to comment.