Added a TrustKit.xcframework into my SDK challenge which is in Swift however when I’m attempting to make use of my SDK into my demo swift challenge by growth pods,it’s giving beneath error.
dyld[62372]: Library not loaded: ‘@rpath/TrustKit.framework/TrustKit’
Referenced from: ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp .app/Frameworks/MyTestApp_SDK.framework/MyTestApp_SDK’
Purpose: tried: ‘/usr/lib/swift/TrustKit.framework/TrustKit’ (no such file), ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp Check.app/Frameworks/TrustKit.framework/TrustKit’ (no such file), ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp Check.app/Frameworks/MyTestApp_SDK.framework/Frameworks/TrustKit.framework/TrustKit’ (no such file), ‘/usr/lib/swift/TrustKit.framework/TrustKit’ (no such file), ‘/usr/lib/swift/TrustKit.framework/TrustKit’ (no such file), ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp Check.app/Frameworks/TrustKit.framework/TrustKit’ (no such file), ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp Check.app/Frameworks/TrustKit.framework/TrustKit’ (no such file), ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp Check.app/Frameworks/TrustKit.framework/TrustKit’ (no such file), ‘/usr/lib/swift/TrustKit.framework/TrustKit’ (no such file), ‘/usr/lib/swift/TrustKit.framework/TrustKit’ (no such file), ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp Check.app/Frameworks/TrustKit.framework/TrustKit’ (no such file), ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp Check.app/Frameworks/TrustKit.framework/TrustKit’ (no such file), ‘/non-public/var/containers/Bundle/Software/557A6D2C-8510-4983-A680-471531A2B66C/MyTestApp Check.app/Frameworks/TrustKit.framework/TrustKit’ (no such file), ‘/System/Library/Frameworks/TrustKit.framework/TrustKit’ (no such file)
https://www.simpleswiftguide.com/how-to-add-xcframework-to-xcode-project/
Additionally tried so as to add TrustKit folder path to library search paths & framework search paths in my SDK challenge