groue / GRDB.swift

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

Swift 4.2 branch fails to build as a dependency #379

Closed QuestofIranon closed 6 years ago

QuestofIranon commented 6 years ago

What did you do?

added the 4.2 branch as a dependency for a swift 4.2/ XCode 10 project pod 'GRDB.swift', :git => 'https://github.com/groue/GRDB.swift.git', :branch => 'swift4.2'

What did you expect to happen?

The library to build with Swift 4.2 set as the version

What happened instead?

Fails to build image

I have to set it to build in 4.0 everytime a podfile update is required.

Environment

GRDB flavor(s): GRDB GRDB version: Swift 4.2 Branch Installation method: CocoaPods pod 'GRDB.swift', :git => 'https://github.com/groue/GRDB.swift.git', :branch => 'swift4.2' Xcode version: Version 10.0 beta 2 (10L177m) Swift version: 4.2 Platform(s) running GRDB: iOS macOS version running Xcode: High Sierra 10.13.5

groue commented 6 years ago

Hello @QuestofIranon,

You're backcountry skiing: beta Xcode + unadvertised branch. This is not for everyone.

Unless you are willing to contribute, I recommend that you step back:

groue commented 6 years ago

I'm reopening this issue until Xcode 10 is out (see https://github.com/groue/GRDB.swift/issues/383#issuecomment-404127426)

groue commented 6 years ago

GRDB 3.3.0-beta1 is out. It supports Xcode 10 beta 6 and Swift 4.2 - but one may still face Xcode-related issues.