Skip to content
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

how to add new source file to an unit test target #450

Open
xxhank opened this issue Nov 12, 2016 · 1 comment
Open

how to add new source file to an unit test target #450

xxhank opened this issue Nov 12, 2016 · 1 comment

Comments

@xxhank
Copy link

xxhank commented Nov 12, 2016

I tried Xcodeproj::Project::Object::FileReferencesFactory.new_reference, but this method needs a group(PBXGroup) argument, and I cannot find how to get a group(PBXGroup)

@Desnoo
Copy link

Desnoo commented Dec 9, 2016

An group is simply said a grouped set of files represented as an virtual folder inside of xcode.
I think the root group is the project itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants