SQLite.swift icon indicating copy to clipboard operation
SQLite.swift copied to clipboard

xcode 8.3 error

Open WDDong opened this issue 9 years ago • 7 comments

Project builds fine in Xcode 8.2.1, but in Xcode8.3 beta4 the pod SQLite.swift produces >18 issues like: Swift Compiler Error Build a shadowed submodule 'Darwin.POSIX.basic' module.modulemap build a shadowed submodule 'Darwin.POSIX.sys.types._int8_t'

Is there a simple resolution/workaround?

WDDong avatar Mar 17 '17 03:03 WDDong

@WDDong make sure you follow the instructions exactly, especially step 1)

https://github.com/stephencelis/SQLite.swift#cocoapods

jberkel avatar Mar 17 '17 20:03 jberkel

@jberkel we are sure about install. This pod isn't usable with Xcode 8.3 for this time..

michalseverin27 avatar Mar 22 '17 15:03 michalseverin27

I've been using SQLite.swift with Xcode 8.3 since beta3 with no issues.

My specific setup:

pod 'SQLite.swift/standalone', '~> 0.11.0'
pod 'sqlite3/fts'

ryanholden8 avatar Mar 22 '17 16:03 ryanholden8

@ryanholden8 I tried ur setup, but with Xcode8.3 release, it build failed.
error: 'sqlite3.h' file not found

ibadcool avatar Mar 29 '17 02:03 ibadcool

0.11.3 has been tested with Xcode 8.3, closing.

jberkel avatar Mar 30 '17 10:03 jberkel

I just got the same problem in my project too with the version 0.11.3, but I solved this problem Just for the record I post the solution that worked for me.

This error was triggered because I had two versions of XCode on my computer, 8.3.3 and 9.1.

XCode 9.1 was named "XCode" and XCode 8.3.3 was named differently. The project that use the SQLite framework was running with XCode 8.3.3.

So the solution was to have XCode 8.3.3 renamed in "XCode" instead of the XCode 9.1.

StevenMasini avatar Nov 06 '17 05:11 StevenMasini

This error was triggered because I had two versions of XCode on my computer, 8.3.3 and 9.1.

XCode 9.1 was named "XCode" and XCode 8.3.3 was named differently. The project that use the SQLite framework was running with XCode 8.3.3.

Confirm. Helped!

nickolayl avatar Sep 20 '18 22:09 nickolayl