-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple target support #8
Comments
Honestly I don't think it's correct to abuse Xcode targets to be different Apps, which is why I didn't have this in mind when creating Currently the only good solution is to write some Ruby code in your |
Hi, i'm in the same situation; 1 project with (a lot) of multiple targets. That sounds more easy to maintain to me. (?) |
There are many industrial&service scenarios when we have to create multiple target. I would prefer handle simple project but the reality is that we need to use this kind of solution and it si much more efficient to use target in one project and be able to run into the simulator the wanted project by switching scheme than having to close and find&open the corresponding Xcode proj. Also, imagine you have to adapte a class or a xib by target, in one Xcode project it is much more easy to navigate, update and refactor. Anyway, I don't want to convince you, I just I think there is a need for that kind of support. |
Okay. What kind of solution would you suggest? How would your perfect 'interface' look like for |
My vision would be (user point of view):
|
To your points
|
|
|
👍 |
Is this feature available ? Just tested with fastlane 0.7 the default ".env" file is well loaded but using a specific config file ".env.production" is not working: /Library/Ruby/Gems/2.0.0/gems/fastlane-0.7.0/lib/fastlane/lane_manager.rb:38:in `cruise_lanes': undefined method `overload' for Dotenv:Module (NoMethodError)
from /Library/Ruby/Gems/2.0.0/gems/fastlane-0.7.0/bin/fastlane:32:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.0/lib/commander/command.rb:179:in `call' The command is working well with the default config file:
Files are present: ls -al fastlane/.env*
fastlane/.env
fastlane/.env.development
fastlane/.env.production Did I missed something? I followed the doc available here : https://github.com/KrauseFx/fastlane/blob/master/docs/Advanced.md |
@joshdholtz did the |
@KrauseFx So is it possible to have multiple sets of metadata and screenshots? 1 for each target? |
Thank you for the great job. But I need this feature! I have 63 targets^_^ |
@agassiyzh It is possible, have you tried using the Maybe @joshdholtz can add a comment on this. |
@KrauseFx Thx, I will try this plugin. |
Remove the unused reports_generator which was requiring fastimage
For anyone looking to use fastlane with multiple apps in one xcode project:
and
|
Thanks to this plug you can now update the plists directly for version numbers and build: https://github.com/SiarheiFedartsou/fastlane-plugin-versioning I'm using it like this (inside a lane):
and I have one of those per lane (I'm just learning this stuff... I imagine I could DRY it out somehow?) Big shout out to @SiarheiFedartsou for providing this necessary plug. Cool stuff, thank you! |
For people coming from Google, check out the Guide to use fastlane for apps with multiple targets. |
First of all, thank you for the great job.
I have an Xcode proj with 8 targets, each apps has its bundleid, appid and languages. In that case, time saved thanks to fastlane would be even more important for me but how to handle this ? For now I have my custom script and I'm thinking to migrate if there is built-in support in fastlane.
I'd like to create some configuration in a centralized file "Appfile" contening all the necessary information and be able to directly call the required one (Note: Appfile and Deliverfile for now look to share some duplicate information like app_identifier).
I found this issue fastlane-old/deliver#67, it is a tips but It won't work for the multiple appstore metadata I think and it is not an official support in "fastlane".
Would you think about such an architecture support ?
Thanks for your help !
The text was updated successfully, but these errors were encountered: