Dyld Symbol not found on Local Swift Package

I work on iOS App project in workspace. I splitted feature in a Local Swift Package.
Workspace contains both iOS App Project and Swift Package.

Code Block
https://i.stack.imgur.com/LhL5j.jpg


Swift package platform is iOS 14 and deployment target of project is iOS 13.

I put optional link on my Swift Package to avoid crash on iOS 13

Code Block
https://i.stack.imgur.com/Y1HYb.png



Application run well on iOS 14 but still crash on iOS 13 :

Code Block
dyld: Symbol not found: _$s7SwiftUI4ViewP14_viewListCount6inputsSiSgAA01_ceF6InputsV_tFZTq


Just for example, I would like to use Swift Package like this :

Code Block Swift
#if canImport(Classifier)
@available(iOS 14.0, *)
struct ActionClassifier: View {
var body: some View {
Text("Hello, World!")
}
}
#endif


Did I miss something on the way of link my Swift Package Binary to my project ?




Have you found any solution to this problem? I get the same crash with Xcode 13, trying to use something from iOS 15 and it crashes on iOS 14.

Dyld Symbol not found on Local Swift Package
 
 
Q