CocoaPods / CocoaPods/Xcodeproj

Nested projects, is there a way to get the product of a nested framework project ?

Open
#631 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 have a project framework inside my app project.
I would like to add the framework product in embedded binaries of the the app project with Xcodeproj

For this I need to get the product reference of the nested framework project.

In the project.pbxpoj I can see there are 2 "Products" group, one for the app, one for the framework. But I can't find a way to access the framework "Products" group with the api.

`project.groups` returns only app groups
`project.products` returns only products of the app

Is there a way to get this data ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the project.groups and project.products APIs and how nested framework projects are represented in the project.pbxproj. Done means the API provides a way to access the nested framework project's Products group or product reference for embedding in the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.