GoogleMapsUtils module build incompatible with latest swift version
Environment details
- Mac os Big Sur Version 11.4
- XCode version Version 13.0 (13A233)
- GoogleMapsUtils version 4.1.0
Steps to reproduce
- Add GoogleMapsUtils in my SPM Project (next major version)
- Build app
- Error hapend (cf screenCap below)

The library is built with library evolution support (BUILD_LIBRARY_FOR_DISTRIBUTION is set to YES) so it should work on the latest version of Xcode/Swift. I did test this on Xcode 13 and was able to get it to work. Perhaps a clean build might do the trick?
Same problem with Version 13.2.1 (13C100)
It might work for the who updated Xcode from App Store for some time (I assume some old compilers might exist on local machine). But if you download latest Xcode build from App Store or Apple Developer website, the only option you have is latest compiler. GoogleMapsUtils version 4.1.0 is not compiled on Xcode 13.2.1 (13C100)
Having the same issue with Xcode 13.2.1
Will take a look
I'm having the same issue using SPM on:
- Xcode Version 15.0.1 (15A507)
- macOS Sonoma 14.0 (23A344)
- GoogleMapUtils 4.2.2
Failed to build module 'GoogleMapsUtils'; this SDK is not supported by the compiler
(the SDK is built with 'Apple Swift version 5.5.2 (swiftlang-1300.0.47.5 clang-1300.0.29.30)',
while this compiler is 'Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)').
Please select a toolchain which matches the SDK.
I cleaned the project and packages, deleted deriveddata, started again... I think this should work, right? I see that BUILD_LIBRARY_FOR_DISTRIBUTION is true in the project. What am I missing?