Tushar Saha
01/25/2023, 9:12 AMKMMBridgeKickStart
by running ./gradlew spmDevBuild
and importing the KMMBridgeKickStart.xcframework
build to an existing Xcode project but seems that Xcode doesn’t find allshared
reference. Except editing the GROUP
in gradle.properties, I didn’t do any other configuration setup. Do I need the SPM setup from this page prior to run the spmDevBuild
task? My team is trying to have a local setup to distribute the xcframework
with iOS without setting up the entire CI infra (one of the reason is we use Gitlab). Any help please? TIA 🙂kpgalligan
01/25/2023, 2:19 PMPackage.swift
, but TBH, it’s been a little while since we’ve done only local SPM dev. For KMMBridge, it’s in the context of a published binary, so there may be simpler ways to do it. We do have a fully local dev build for one of our client projects, but we’d need to sync up with them for a better answer.Landry Norris
01/25/2023, 3:02 PMTushar Saha
01/25/2023, 3:47 PMallshared
module). To go forward, I select the entire project so that Xcode can recognise the package.swift at the root (which has the local build path to xcframework written). Next, in Frameworks, Libraries, and embedded content option from the General tab, It doesn’t show the framework available meaning was not successfully imported to the project. Is there anything I’m missing?Landry Norris
01/25/2023, 3:48 PMTushar Saha
01/25/2023, 4:17 PM./gradlew spmDevBuild
or something else to get the xframework build?Landry Norris
01/25/2023, 4:18 PMkpgalligan
01/25/2023, 4:19 PMspmDevBuild
is specific to KMMBridge, so for sure you’d need to be using that for that task to show up. There’s also a flag to pass in so you only build the target you want. It’s a bit hacky, but it is the fastest dev turnaround you can do locally.Landry Norris
01/25/2023, 4:20 PMkpgalligan
01/25/2023, 4:20 PM