Ivan Đorđević
01/16/2022, 12:32 PMGooglePlaces
via CocoaPods to my shared multiplatform library, but I'm getting linker errors:
ld: warning: object file (.../Pods/GooglePlaces/Frameworks/GooglePlaces.framework/GooglePlaces) was built for newer iOS version (12.0) than being linked (9.0)
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_UIActivityIndicatorView", referenced from:
objc-class-ref in GooglePlaces
"_OBJC_CLASS_$_UINavigationController", referenced from:
objc-class-ref in GooglePlaces
...
All of the linking errors seem to be from UIKit objects for some reason? Here's the relevant part of my Gradle build script:
cocoapods {
...
ios.deploymentTarget = "14.0"
framework {
baseName = "_snip_"
isStatic = false
}
pod("GooglePlaces") {
version = "~> 6.0.0"
}
}
Now, when I remove isStatic = false
, it works without issues. Does anyone know why this is the case?