Saturday, November 21, 2026
HomeiOS Developmentios - Xcode Previews fail with: "lacking required module 'SQLiteObjc'"

ios – Xcode Previews fail with: “lacking required module ‘SQLiteObjc'”

[ad_1]

Though I can compile and run my venture utilizing SQLite.swift, I am unable to preview views which might be in a neighborhood package deal.

A problem was just lately fastened for Carthage installs:

https://github.com/stephencelis/SQLite.swift/points/1150

I attempted including: ${SRCROOT}/SQLiteObjc to the Swift Compiler Search Paths however that did not assist.

I am utilizing RC1 of Xcode 14 on an M1 MacBookPro operating Monterey 12.5.1

In my Bundle.swift file I’ve:

       .package deal(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.13.2"),

which resolves to model 0.13.3

I seemed by way of many associated questions — that is the newest point out, however it didn’t remedy my drawback:
Xcode Lacking required module ‘SQLiteObjc’ with Sqlite.swift

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments