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

Make project integration optional #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jparise
Copy link

@jparise jparise commented May 1, 2023

The CocoaPods installer supports a integrate_targets: false option which disables project integration. When disabled, an umbrella target won't have a user project.

This change teaches this plugin to safely handle that scenario by doing the following:

  1. Xcodeproj::Project is only used when we have a user project.
  2. The generated metadata files are always written to the output path.
  3. Those files are only added to the targets when we have a project.

The CocoaPods installer supports a `integrate_targets: false` option
which disables project integration. When disabled, an umbrella target
won't have a user project.

This change teaches this plugin to safely handle that scenario by doing
the following:

1. `Xcodeproj::Project` is only used when we have a user project.
2. The generated metadata files are always written to the output path.
3. Those files are only added to the targets when we have a project.
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

Successfully merging this pull request may close these issues.

1 participant