Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RuoG opened this issue Jun 25, 2020 · 19 comments
Closed

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

RuoG opened this issue Jun 25, 2020 · 19 comments

Comments

@RuoG
Copy link

RuoG commented Jun 25, 2020

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

  • Include the SQLite.swift version, commit or branch experiencing the issue.
  • Mention Xcode and OS X versions affected.
  • How do do you integrate SQLite.swift in your project?
    • CocoaPods

General guidelines

  • Be as descriptive as possible.
  • Provide as much information needed to reliably reproduce the issue.
  • Attach screenshots if possible.
  • Better yet: attach GIFs or link to video.
  • Even better: link to a sample project exhibiting the issue.

image

image

@danl3v
Copy link

danl3v commented Jun 25, 2020

Haven't seen these issues, but made some fixes here: #1008

@RuoG RuoG closed this as completed Jun 29, 2020
@RuoG RuoG reopened this Jul 12, 2020
@RuoG RuoG changed the title Xcode 12 Beta Errors Xcode 12 Beta SQLite.swift Can't Build Jul 12, 2020
@marain87
Copy link

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
Copy link

danl3v commented Aug 6, 2020

Beta 4 should fix this issue

@fishunt
Copy link

fishunt commented Aug 11, 2020

Beta 4 should fix this issue

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

@Hung-Hsun
Copy link

Still has this issue with Xcode Beta5!

@andrei-moldovan-dev
Copy link

Same issue on Xcode 12.0 beta 6.

@EduardoIbarra
Copy link

Still happening on Xcode 12.0 beta 6 (12A8189n)

@mobinzk
Copy link

mobinzk commented Sep 15, 2020

Same issue with Xcode 12 GM seed any solutions?

@docpitz
Copy link

docpitz commented Sep 16, 2020

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

@Pulichev
Copy link

I have found a temporary solution.
Check #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
Copy link

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

  • Error: "Ambiguous use of SQLITE_DETERMINISTIC".
  • Error: "Could not build module 'SQLite3'" in SQLiteObjc.h when trying to @import SQLite3;
  • Multiple errors regarding: "Redefinition of sqlite_..."

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
Copy link

jyjblrd commented Sep 17, 2020

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

@haithngn
Copy link

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

@Ryamonster10
Copy link

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

@Ryamonster10
Copy link

Screen Shot 2020-12-28 at 11 59 27 AM

@docpitz
Copy link

docpitz commented Dec 28, 2020

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

@Ryamonster10
Copy link

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

@nathanfallet
Copy link
Collaborator

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

1 similar comment
@nathanfallet
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests