When we have a KMM module A and a development POD called B which is dependent on A, B builds fine and pod install happens fine. If There's a module C, who has dependency to B via pod, then we get error:" target has transitive dependencies that include statically linked binaries:", while pod update. To fix this if we comment out use_frameworks! or remove it from podfile of C, pod install happens fine but build fails with could not find module SQLCipher, SQLCipher is depended by A via the cocoapods plugin in gradle. If we use another solution for transitive dependency as follows
Copy code
pre_install do |installer|
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end
we end up with other errors during build like
Undefined symbols for architecture x86_64:
"_sqlite3_bind_text16", referenced from:
_SQLiter_SQLiteStatement_nativeBindString in ConnectPlusSharedDB(result.o)
n
nfrankel
01/21/2021, 1:52 PM
i don’t even understand the context 😅
i’m pretty sure a specific channel could probably be a better place to ask this question