stephencelis / SQLite.swift

A type-safe, Swift-language layer over SQLite3.
MIT License
9.64k stars 1.56k forks source link

Xcode 12 Beta SQLite.swift Can't Build #1009

Closed RuoG closed 3 years ago

RuoG commented 4 years ago

Issues are used to track bugs and feature requests. Need help or have a general question? Ask on Stack Overflow (tag sqlite.swift).

Build Information

General guidelines

image

image

danl3v commented 4 years ago

Haven't seen these issues, but made some fixes here: https://github.com/stephencelis/SQLite.swift/pull/1008

marain87 commented 4 years ago

I got the same problem with this.

Last time I used this #986 to solve on Xcode 11.5

pod 'SQLCipher', '= 4.2.0' pod 'SQLite.swift/SQLCipher', '~> 0.12.2'

But it isn't working on Xcode 12 beta 2 now…

danl3v commented 4 years ago

Beta 4 should fix this issue

fishunt commented 4 years ago

Beta 4 should fix this issue

hello, My Xcode Has been update to Beta4,But This issue still happen!

Hung-Hsun commented 4 years ago

Still has this issue with Xcode Beta5!

andrei-moldovan-dev commented 3 years ago

Same issue on Xcode 12.0 beta 6.

EduardoIbarra commented 3 years ago

Still happening on Xcode 12.0 beta 6 (12A8189n)

mobinzk commented 3 years ago

Same issue with Xcode 12 GM seed any solutions?

docpitz commented 3 years ago

I'm not sure, but maybe #1006 will help you

Pulichev commented 3 years ago

I have found a temporary solution. Check https://github.com/stephencelis/SQLite.swift/pull/970

My podfile now:

pod 'SQLite.swift/standalone', :git => 'https://github.com/stephencelis/SQLite.swift', :branch => 'master'
pod 'sqlite3', '3.29.0'

So, u have to install version from master.

chrisozenne commented 3 years ago

Using SQLCipher w/ Xcode 12 GM, I ran into a couple of different issues:

What resolved all of these issues for me was to change the import statement in SQLiteObjc.h:

From:

@import SQLite3;

To:

@import SQLCipher.sqlite3;

After making this change and performing a clean & build, all of my build errors have resolved.

jyjblrd commented 3 years ago

This cartfile works for me: github "stephencelis/SQLite.swift" "385ce0c1b9870c712e712491caa528591988be3e"

haithngn commented 3 years ago

Hi guys, this workaround worked for Xcode 12.1 (12A7403)

Ryamonster10 commented 3 years ago

Hello, Still not working on the offical Xcode 12.3 application with no mods. Getting the same error.

Ryamonster10 commented 3 years ago
Screen Shot 2020-12-28 at 11 59 27 AM
docpitz commented 3 years ago

Here is the mod: https://github.com/docpitz/SQLite.swift

Ryamonster10 commented 3 years ago

Thanks, I will try it out soon and let you know my results.

nathanfallet commented 3 years ago

Should be fixed by #1051 and #1053. We're going to release a new version soon.

nathanfallet commented 3 years ago

Should be fixed by #1051 and #1053. We're going to release a new version soon.