Closed ellie-me closed 1 year ago
@elisamuelps Have you tried flutter clean
? I wonder if there are some artifacts from a previous build ...
Yes I used flutter clean previously, cleared cache, ran a fresh pods install and I still had the same problem, I tried with different environments and with different macs on Codegamic, I usually build flutter on Codemagic with --verbose so I can better understand build errors, I have also not tested the latest version of maps launcher though, not sure if the error is still happening but I had to remove the plugin from my app.
i had the same problem, but in debug mode I find a interesting thing may help, is that when I add the maps-launcher to the pubsec.yaml after the build and I hot reload the terminal it's working like a charm but if I quit the current build and I try another time I will have the same issue. thanks
i figure out that the problem it's happening only when we use obj-c. the solution is to add a swift file to your flutter project in the Xcode and change the name module and switch it to yes.
i figure out that the problem it's happening only when we use obj-c. the solution is to add a swift file to your flutter project in the Xcode and change the name module and switch it to yes.
That's some great sleuthing there, @yanissoalili!
@elisamuelps Can you try the above and report back if it worked? Here's hoping!
add a swift file to your flutter project in the Xcode and change the name module and switch it to yes.
Can you guide us,, i enable the swift on my existing project ,still there is problem
You could try in xcode add a new .swift file and xcode will ask to create bridging header, click yes. That should help if the issue is obj-c.
i figure out that the problem it's happening only when we use obj-c. the solution is to add a swift file to your flutter project in the Xcode and change the name module and switch it to yes.
That's some great sleuthing there, @yanissoalili!
@elisamuelps Can you try the above and report back if it worked? Here's hoping!
sure! I'm a bit busy at the moment with work so bare with me, I will update this thread and close the issue once I try the fix that @yanissoalili found which I'm like 99% sure it will work as when I created my project on Android Studio I remember clearly on not enabling ios swift support, nor my xcode project has support for swift.
I can do a pull request to the readme.md with instructions afterwards so future devs are aware to enable swift before using this library.
I hope this issue no longer persists. I'll close it, considering how old it is.
Since I upgraded maps launcher to version 1.2.1+1 (build 1) I could not build my app on ios anymore. I got this when running with --verbose.