Anyone still experiencing the `error: Could not fi...
# compose-ios
j
Anyone still experiencing the
error: Could not find "co.touchlab:stately-common"
bug? I’ve followed the steps from here and added
implementation("co.touchlab.stately-common:2.0.7")
to my gradle file, but its still failing to build the iOS app. I am using Cocoapods and the
GoogleMaps
pod.
b
And you added the linker flags in xcode? I had to do those as well
j
Which linker flags? I’m getting a new error now anyways, during the
:composeApp:linkPodDebugFrameworkIosSimulatorArm64
task. Getting some missing symbol errors like:
Copy code
...

 "_kGMSWillTakeScreenshotNotification", referenced from:
      -[GMSCALayer renderInContext:] in GoogleMaps
ld: symbol(s) not found for architecture arm64
b
At the bottom of that github link.
j
Oh, yeah added that. Didn’t help 😞
b
dang =(
Are you trying in Android Studio or in Xcode?
I've sometimes had problems where Android Studio won't but Xcode will
j
Yeah I’ve tried both. Still won’t load. I’ve even tried copying all settings from https://github.com/realityexpander/FredsRoadtripStoryteller but no luck. If I clone and run that app then the GoogleMaps works, just can’t get it to work in my own app 😕
b
Thats the worst... you could try commenting nearly everything out until it matches the repo, maybe pay extra special attention to xcode configs vs gradle settings. Sorry I can't be more help
j
I’ve already spent 8 hours doing just that 😅. I’m gonna give up and try to implement MapKit for the iOS side. Thanks for trying 👍
b
Ugh, I feel that pain to well. Good luck with the other option
l
The fact that you guys have no profile picture, and that it defaults to green for you both makes reading this conversation really confusing
😂 1
216 Views