-
Notifications
You must be signed in to change notification settings - Fork 187
Description
Environment
- Xcode version: 16.4 / 26.0
- iOS version: All
- Devices affected: All
- Maps SDK Version: 11.13.3 and higher
Observed behavior and steps to reproduce
Download the examples project. Set 'Swift Language Version' to 'Swift 6'. Try to compile the project.
The project has hundreds of errors.
My experience with Swift 6 is that updating the code to be compliant results in much safer and more optimal code.
Expected behavior
The project should compile with the newest version of the language.
Swift 6 is a year old now.
Notes / preliminary analysis
I tried to cut out all the examples that did not compile, but it was not particularly do-able.
I want to try to use your exmaple for 'offline manager' to reproduce the bug I have reported in another issue:
#2224
I am moderaly certain that the Mapbox SDK does NOT work (crashes at runtime) with Swift 6 compilation when using the offline manager. The best way would be to reproduce an example and modifying the examples project is the most straightforward way to do that.