firebase / firebase/firebase-ios-sdk
[FR]: Remove explicit linking to Sqlite3
- Dominant language
- C++
- Stars
- 6.7k
- Forks
- 1.8k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 75
Description
### Description
Since SwiftPM applies automatic linking for libraries, I am wondering if we can remove the explicit linking to [Sqlite3 ](https://github.com/firebase/firebase-ios-sdk/blob/main/Package.swift#L298)? I tried it in a sample project and noticed the library still gets linked.
It is causing issues when consuming SDKs that use [SqlCipher](https://github.com/sqlcipher/sqlcipher) since SqlCipher cause undefined behavior if the system Sqlite3 is also linked.
### API Proposal
_No response_
### Firebase Product(s)
Analytics
Contributor guide
Research direction
Start in Package.swift around line 298 and review how the explicit Sqlite3 link is declared. Remove that declaration, then verify in the sample project that the library remains linked through SwiftPM and that consumers using SqlCipher no longer receive the conflicting system Sqlite3 link.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sqlite, swift
- Domain
- build-system, databases
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100