CocoaPods / CocoaPods/Xcodeproj

how to add new source file to an unit test target

Open
#450 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
2.4k
Forks
488
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Xcodeproj::Project::Object::FileReferencesFactory.new_reference and inspect how PBXGroup objects are created or accessed. Identify the relevant API documentation or example location, then document the steps for adding a source file to a unit test target and verify that the explanation covers the required group argument.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
build-system
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.