-
Notifications
You must be signed in to change notification settings - Fork 458
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
Add method to duplicate existing target #75
Comments
I can see some valid use cases for this, @mgrebenets if you are interested in this feature, will you submit a patch? |
Is there still demand for this? |
I am still using calabash-ios setup script. I wouldn't say there's real demand for it. Would be a "nice to have" feature. |
Hello, this would be really great. |
I am also interested on this. Any work around for now? what operations would need to be performed? maybe create a new target, then go through all properties of original target and assign them in the new one? Not sure if that will reference UDIDs that are target-only... |
Without verifying what Xcode actually does, some ideas are:
|
Hi! I am also interested in the duplication of targets. I'm currently looking into doing it manually with xcodeproj but having it do the hard work would be nice and probably safer. |
Here's a +1. I also have a use case of multiple targets from the same code base. It's not a huge time savings but would be nice to automate the effects of "command-D" (Duplicate) in Xcode. |
For what it's worth, I would love to have this too. |
Found this Gist courtesy of @ratazzi, might help people looking for this feature: |
@fabiopelosin |
Would help a lot. |
@chuckSaldana PRs are welcomed :) Given that this issue is 6 years old, it's not likely to be added unless someone who has a use for it takes the time to contribute the feature |
Hi all.
It would be great to have
duplicate
method onPBXNativeTarget
.This would be handy when dealing with automated test, e.g. Calabash for iOS.
Test team could pick up latest app from the repo, locate main app target and duplicate it into many other targets, for Calabash, MonkeyTalk, RevealApp or any other test-related stuff the developers shouldn't care about.
For example
calabash-ios setup
does this job, but it' snot usingXcodeproj
.The way I intend to use it is to get the latest app code first, then duplicate main target into a bunch of test-specific targets, then update Podfile to add custom frameworks and pods to newly created targets. And all that with a couple of cli commands, so it can be used on CI server as well.
The text was updated successfully, but these errors were encountered: