Hi all, Question about the "SPM Local Dev Flow" fo...
# touchlab-tools
b
Hi all, Question about the "SPM Local Dev Flow" for KmmBridge. I set it up and everything works pretty good. When I'm working in that flow, ifI make some edits to the kotlin code, I presume I'll need to run the
spmDevBuld
again to produce a new framework with the updated code changes ... right?
k
Yes. Trying to wire that into an Xcode run script is problematic because Xcode seems to load the frameworks as-is before it does anything, so you'd effectively need to build with Xcode twice. There's probably a way to do it, but we experimented with various Xcode configurations that involved creating new targets. Even if that had worked, it would be fairly tedious to set up. Plus we, or at least I, never found one that would work consistently.
👍 2