hello. we are having some problems when resolving ...
# multiplatform
m
hello. we are having some problems when resolving an ios cocoapod in the shared module. Specifically the
"GoogleMLKit/TextRecognition"
dependency. Adding it to the shared libs cocoapod section via
pod("GoogleMLKit/TextRecognition")
fails with the error
module 'GoogleMLKit' not found
. This might be expected since it uses a subspec for its name. In the issue https://youtrack.jetbrains.com/issue/KT-42167 it is recommended to provide the pod
moduleName
as well. This would result in
pod("GoogleMLKit/TextRecognition", moduleName="GoogleMLKitTextRecognition")
which does unfortunately not work and yields the same error. Interestingly though for a pod like
"Firebase/Analytics"
providing the
moduleName
without the slash is also required and does work. Any help to bring the MLKit library to work would be appreciated.