stephencelis / SQLite.swift

A type-safe, Swift-language layer over SQLite3.
MIT License
9.74k stars 1.57k forks source link

Xcode is throwing 4 warnings | latest SQLite.swift | Latest Xcode #1201

Open waelsaad opened 1 year ago

waelsaad commented 1 year ago

Hi, I have encountered a strange issue I am not entierly sure how to replicate but its when importing certain libraries causing the below warnings-

1- Create new project 2- Integrate SQLite.swift using SPM and the latest Xcode 3- Simply add the following header on the created ContentView.swift file import PassKit

This will produce the following warnings:-

objc[55642]: Class _TtC6SQLite6Backup is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1bb19b5d8) and /Users/vvv014/Library/Developer/CoreSimulator/Devices/DAC8F724-DB55-4EC0-B064-0FCC67866994/data/Containers/Bundle/Application/8F4F886E-4DB1-4446-A3E7-A49937F221CD/asdfsadf.app/asdfsadf (0x104328fa8). One of the two will be used. Which one is undefined. objc[55642]: Class _TtC6SQLite10Connection is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1bb19b310) and /Users/vvv014/Library/Developer/CoreSimulator/Devices/DAC8F724-DB55-4EC0-B064-0FCC67866994/data/Containers/Bundle/Application/8F4F886E-4DB1-4446-A3E7-A49937F221CD/asdfsadf.app/asdfsadf (0x1043291c8). One of the two will be used. Which one is undefined. objc[55642]: Class _TtC6SQLite9Statement is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1bb19b508) and /Users/vvv014/Library/Developer/CoreSimulator/Devices/DAC8F724-DB55-4EC0-B064-0FCC67866994/data/Containers/Bundle/Application/8F4F886E-4DB1-4446-A3E7-A49937F221CD/asdfsadf.app/asdfsadf (0x104329380). One of the two will be used. Which one is undefined. objc[55642]: Class _TtC6SQLite12TableBuilder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/LinkServices.framework/LinkServices (0x1bb19af40) and /Users/vvv014/Library/Developer/CoreSimulator/Devices/DAC8F724-DB55-4EC0-B064-0FCC67866994/data/Containers/Bundle/Application/8F4F886E-4DB1-4446-A3E7-A49937F221CD/asdfsadf.app/asdfsadf (0x10432a920). One of the two will be used. Which one is undefined.

Thank you

AlexanderSharov commented 1 year ago

hey, see same issue with xcode 15 now.... any updates how it could be resolved?

LiMaoAtCD commented 1 year ago

same issue on Xcode15

mikaelacaron commented 1 month ago

also having this issue in Xcode 16.0.0!