readium / swift-toolkit

A toolkit for ebooks, audiobooks and comics written in Swift
https://readium.org/mobile/
BSD 3-Clause "New" or "Revised" License
223 stars 96 forks source link

'asSQL' is inaccessible due to 'internal' protection level #401

Closed 22222912 closed 3 months ago

22222912 commented 3 months ago

Describe the bug

1 spm import swift-toolkit 2 build 3 Readium -> Sources -> LCP -> Persistence -> Connection.swift
4 code " let sql = "SELECT COUNT(*) FROM ((expressible.asSQL())) AS countable;" show error "asSQL' is inaccessible due to 'internal' protection level"

How to reproduce?

1 spm import 2 build 3 Readium -> Sources -> LCP -> Persistence -> Connection.swift
4 code " let sql = "SELECT COUNT(*) FROM ((expressible.asSQL())) AS countable;" show error "asSQL' is inaccessible due to 'internal' protection level"

Readium version

2.6.1

OS version

iOS 17

Testing device

iPhone 7 plus

Environment

macoS: 14.0
platform: arm64
carthage: 0.39.1
Xcode 15.0.1 
Build version 15C65

Additional context

4a280d2e-8755-42ad-8afa-ec2a3d463989

mickael-menu commented 3 months ago

Could you share a minimal project showing the error? I can't reproduce it.

22222912 commented 3 months ago

Could you share a minimal project showing the error? I can't reproduce it.

Thx all the same my before SQLite version is branch main I change SQLite version to range of versions 0.12.0<0.13.3 in spm then build success,