ankushg
09/20/2021, 7:39 PMrusshwolf
09/20/2021, 7:51 PMankushg
09/20/2021, 7:53 PMrusshwolf
09/20/2021, 7:55 PMrusshwolf
09/20/2021, 7:56 PMankushg
09/20/2021, 7:57 PMNico Richard
09/20/2021, 8:30 PMconfig.yml
with their local development path to the multiplatform llibrary (the directory where the podspec can be found) or the versioned library in git (this could also be managed by a podspec repo)
MultiplatformConfig:
local: true
path: "../mpp/MultiplatformLibrary.podspec"
require "yaml"
config = YAML.load_file("config.yml")["MultiplatformConfig"]
if config["local"] == true
pod 'MultiplatformLibrary', :path => config["path"]
else
pod 'MultiplatformLibrary', :git => 'git@location-of-multiplatform-library.git', :tag => 'version-tag'
end
Nico Richard
09/20/2021, 8:33 PMconfig = File.exists?("config.yml") ? YAML.load_file("config.yml")["MultiplatformConfig"] : { "local": false }
and it becomes completely optional as wellNico Richard
09/20/2021, 8:38 PMI’m not super fluent with iOS dev workflows, so was hoping there was a way to just make an equivalent of an Android Studio “Run Configuration” for “Build iOS with local KMP sources”I wouldn’t recommend attempting to integrate an Xcode run configuration to hot-swap dependencies if your team is using Cocoapods. Cocoapods modifies the Xcode project to get things done and this is best done separately.
Nico Richard
09/20/2021, 8:42 PMembedAndSignAppleFrameworkForXcode
run script.ankushg
09/20/2021, 8:42 PM