firebase / firebase/firebase-ios-sdk

Conflict with Nearby library

Open
#14,210 9 comments 0 reactions 2 assignees Claimed by @cherylEnkidu View on GitHub
api: firestore
Dominant language
C++
Stars
6.7k
Forks
1.8k
Avg merge
2d 14h
Merged PRs (30d)
72

Description

### Description

Our project already uses Firebase, added via SPM.

However we now want to add the [Nearby](https://github.com/google/nearby) library via SPM and are running into conflicts when trying to resolve the package dependencies.

Removing Firebase allows us to successfully add Nearby, but having them both in the project causes conflict problems:
Screenshot 2024-12-04 at 12 11 11

### Reproducing the issue

1. Create a new Xcode project
2. Add Firebase via SPM
3. Add Nearby via SPM

Steps 2. and 3. can happen in either order (it still fails).

### Firebase SDK Version

11.6.0

### Xcode Version

16.1

### Installation Method

Swift Package Manager

### Firebase Product(s)

Crashlytics

### Targeted Platforms

iOS

### Relevant Log Output

_No response_

### If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

```json

Replace this line with the contents of your Package.resolved.

```

### If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

```yml

Replace this line with the contents of your Podfile.lock!

```

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.