From 7b62861b71e586ae2396e1410f412a69b3f1869a Mon Sep 17 00:00:00 2001 From: Nataliia Klymenko Date: Thu, 19 Jun 2025 14:55:11 +1000 Subject: [PATCH] BD-6070 Migration to Swift 6 --- .../Migration guide to Swift 6.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/Point SDK/iOS/Migration Guides/Migration guide to Swift 6.md diff --git a/docs/Point SDK/iOS/Migration Guides/Migration guide to Swift 6.md b/docs/Point SDK/iOS/Migration Guides/Migration guide to Swift 6.md new file mode 100644 index 00000000..e021fdec --- /dev/null +++ b/docs/Point SDK/iOS/Migration Guides/Migration guide to Swift 6.md @@ -0,0 +1,23 @@ +--- +pagination_next: null +--- + +# Migration Guide to Swift 6 + +To use a Swift 6 app with the iOS Point SDK v 17.0.1 and below, you’ll need to disable the new Swift concurrency features for the SDK. This can be done by adding `@preconcurrency` attribute to import `BDPointSDK` module and the `BDPBluedotServiceDelegate`, `BDPGeoTriggeringEventDelegate`, `BDPTempoTrackingDelegate` delegates if they are used in the app. + +``` +@preconcurrency import BDPointSDK + +extension AppDelegate: @preconcurrency BDPBluedotServiceDelegate { + +} +``` + +An example of using a Swift 6 minimal app is available [here](https://github.com/Bluedot-Innovation/PointSDK-MinimalIntegrationExample-iOS/tree/nk/swift6-app-with-swift5-BDPointSDK). + + + + + +