I am looking for a way to automate xcode clean process using fastlate.
What I am looking to achieve:
So far I automated the derived data folder
lane :clean do
clear_derived_data
end
You have achieve 1,2 and 3, but for 4, you need to use Gym It's easy to use, follow his guide https://docs.fastlane.tools/actions/gym/
lane :cleanAndBuild do
clear_derived_data
gym( my_params )
end