FirebaseUI-iOS: Cannot use Swift Package Manager to add FirebaseUI, missing Package.swift
Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If your issue concerns the CocoaPods error, “…transitive dependencies that include static binaries”, please take a look at any of the following issues and see if your problem is solved: #48, #47, #46, #34, #23.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?
- For issues or feature requests related to the code in this repository file a GitHub issue.
- For general technical questions, post a question on StackOverflow tagged appropriately.
- For general Firebase discussion, use the firebase-talk google group
- For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel
Step 2: Describe your environment
- Objective C or Swift: Swift__
- iOS version: 15.2___
- Firebase SDK version: 9.0.0___
- FirebaseUI version: 0.6.1__
- Xcode Version: 14.0__
Step 3: Describe the problem:
Steps to reproduce:
- In Xcode, File-> Add Packages___
- _Enter http://github.com/firebase/firebaseui-ios____
- Select firebaseui-ios___
Observed Results:
- Xcode attempted to load in firebaseui-io but ended with this error:
Selecting “Add anyway” does not give the option to select modules and results in many build errors.
I tried using Xcode 13.4.1 and got a slightly different error:
Expected Results:
Package to be added successfully.
Relevant Code:
/n/a
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 3
- Comments: 16 (5 by maintainers)
Finally figured it out. You need to set the version to 12.0.0 even though the default suggested one is 0.6.1. You can do that by selecting your Xcode project > Package Dependencies > FirebaseUI-iOS.
Hey all, this happens if you specify a version of FirebaseUI before SPM support was added. The error should go away if you set the version to at least 12.0.
Seems everyone resolved with version dependency rule setting with 12.0.0, but I’m still having same issue. is anyone have idea with it?