groue / GRDB.swift

A toolkit for SQLite databases, with a focus on application development
MIT License
6.86k stars 708 forks source link

Cannot find 'strcmp' in scope error showing up in Xcode 16.0 beta 5 and above #1592

Closed ajcampbell closed 2 months ago

ajcampbell commented 2 months ago

What did you do?

I tried to build and run an app using Xcode 16.0 Beta 5 and Xcode 16.1 Beta

What did you expect to happen?

I expected the app to run

What happened instead?

Got a Cannot find 'strcmp' in scope error:

Screenshot 2024-08-14 at 13 06 00

Environment

GRDB flavor(s): SQLite GRDB version: Latest (Master Branch) Installation method: SPM Xcode version: Xcode 16.1 Beta Swift version: 6.0 Platform(s) running GRDB: iOS macOS version running Xcode: Sonoma 14.5

groue commented 2 months ago

Hello @ajcampbell

The problem with Xcode 16 beta 5 was resolved in #1589, shipped in v6.29.1.

If this version reveals an issue with Xcode 16.1 beta, please tell.


It is not recommended to depend on the master branch. Use tagged versions instead. Only tagged versions have been properly tested.

ajcampbell commented 2 months ago

Not sure why we were using Master, but I've changed that now and the issue is gone. Thanks