googlesamples / googlesamples/unity-jar-resolver

[Bug] SPM can not inject dependencies when close all Cocoapods switch

Open
#767 1 comment 0 reactions 0 assignees View on GitHub
Swift Package Manager
Dominant language
C#
Stars
1.5k
Forks
371
Avg merge
14h 21m
Merged PRs (30d)
3

Description

### [READ] For Firebase Unity SDK issues, please report to [Firebase Unity Sample](https://github.com/firebase/quickstart-unity/issues/new/choose)

Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.

### [REQUIRED] Please fill in the following fields:

* Unity editor version: 2022.3.62.f2
* External Dependency Manager version: 1.2.187
* Source you installed EDM4U: .unitypackage
* Features in External Dependency Manager in use: iOS Resolver
* Plugins SDK in use: Firebase, Facebook
* Platform you are using the Unity editor on: Mac

### [REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
There are two bugs I think.
1. If I close any cocoapods switch in the iOS settings panel(picture below), when the XCode project is built, no SPM dependencies will be injected.

Image

If I change the options in the red box to the ones shown in the picture below, it works, I think this modification is unnecessary.

Image

2. If I export an XCode project in the same directory and select "append", the SPM dependencies will be continuously accumulated in the exported XCode project. I think there should be a deduplication operation here.

#### Please answer the following, if applicable:
What's the issue repro rate? (eg 100%, 1/5 etc)
100%

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.