api-clients-automation
api-clients-automation copied to clipboard
[bug]: Swift client crashing the compiler on Xcode 16 beta
trafficstars
Description
When you try to build an iOS app using AlgoliaSearchClient v9.2.4 in Xcode 16 beta 6, the Swift compiler crashes.
The crash is caused by the use of NSDecimalString. This is a known issue and is also mentioned in the Xcode Release Notes.
Apple may fix this issue before the Xcode 16 RC release, but two easy solutions are mentioned in the Swift GitHub repository. In their release notes, Apple suggests to use Decimal.FormatStyle, but that's only available for iOS 15 and above.
Language
Swift
Client
Search
Steps to reproduce
- Download Xcode 16 beta 6
- Include AlgoliaSearchClient v9.2.4 as a dependency using SPM (https://github.com/algolia/algoliasearch-client-swift)
- Try to build the project
Relevant log output
No response
Self-service
- [X] I'd be willing to fix this bug myself.