[ad_1]
I’ve one venture with a number of Schemes, eg. DEV, PROD and many others. Now i need to construct ad-hoc for every Scheme and add to firebase.
This half is finished utilizing fastlane. I outlined lanes for every Scheme after which run lane instructions from terminal.
Take for an instance of DEV scheme,
run
fastlane do_everything_dev
right here in lane do_everything i’ve added,
desc "construct and add dev to firebase"
lane :do_everything_dev do
clear
build_beta_dev
upload_firebase_dev
finish
Every lane clear, build_beta_dev, upload_firebase_dev have required codes to run the lane.
Now my subsequent job is that i need to exchange the baseURL in DEV scheme of my iOS app utilizing fastlane.
Instance:- If the baseURL of DEV scheme is https://baseurl.com/{endpoint}
I need to exchange https://baseurl.com/{endpoint} with https://newbaseurl.com/{endpoint} utilizing fastlane.
Earlier than placing it right here i searched on web the closest i reached for my requirement is that this https://docs.fastlane.instruments/superior/Fastfile/
[ad_2]
