You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we use Fastlane.rb in our projects. We implemented shared lanes in a separate git repository and import these lanes into multiple iOS projects to avoid redundant code.
Idea
Now I want to achieve the same with Fastlane.swift. I think that it should be possible to create a Swift package for our shared lanes and integrate this package into multiple projects.
Problem
At the moment I can use inheritance in the Fastfile.swift but the lane methods of the superclass are not found. Under the hood the function class_copyMethodList only describes the methods of self without the methods of its superclass.
That's why currently only the lane bar is available.
Possible solution
A very basic and simple solution would be to take the lane methods of the superclass into account as well. But I don't know if this is really the best solution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey folks,
I'm very excited about Fastlane.swift.
Status Quo
Currently we use Fastlane.rb in our projects. We implemented shared lanes in a separate git repository and import these lanes into multiple iOS projects to avoid redundant code.
Idea
Now I want to achieve the same with Fastlane.swift. I think that it should be possible to create a Swift package for our shared lanes and integrate this package into multiple projects.
Problem
At the moment I can use inheritance in the Fastfile.swift but the lane methods of the superclass are not found. Under the hood the function
class_copyMethodList
only describes the methods of self without the methods of its superclass.That's why currently only the lane bar is available.
Possible solution
A very basic and simple solution would be to take the lane methods of the superclass into account as well. But I don't know if this is really the best solution.
What do you think?
Best regards,
Christian
Beta Was this translation helpful? Give feedback.
All reactions