FirebaseUI-iOS icon indicating copy to clipboard operation
FirebaseUI-iOS copied to clipboard

Can't build project when using the Swift Package Manager

Open icarus31 opened this issue 4 months ago • 2 comments

Hi,

I wanted to move away from CocoaPod because of the latest changes and now using all the packages with Swift Package Manager.

The only one that I have issue with is FirebaseUI-OS/Storage version 15.1.0.

I am using Xcode 26 and Swift 5.

Firebase package version used is 11.15.0. I tried with 12.3.0 too with same result.

I have this error more than once during building:

error: Clang dependency scanner failure: While building module 'FirebaseStorageUI' imported from FirebaseStorageUI-acab814b.input:1:
In file included from <module-includes>:1:
In file included from /Users/myselfLibrary/Developer/Xcode/DerivedData/my-apps-hbhkuwnnplkslocsezmqydmnirnc/SourcePackages/checkouts/FirebaseUI-iOS/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/FirebaseStorageUI.h:26:
/Users/myself/Library/Developer/Xcode/DerivedData/my-apps-hbhkuwnnplkslocsezmqydmnirnc/SourcePackages/checkouts/FirebaseUI-iOS/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/UIImageView+FirebaseStorage.h:34:11: fatal error: module 'FirebaseStorage' not found
FirebaseStorageUI-acab814b.input:1:1: fatal error: could not build module 'FirebaseStorageUI'

I see that it does not find FirebaseStorage.

I did add Firebase package and includes FirebaseStorage. I also see it under Frameworks, Librairies, and Embedded Content:

Image

Any suggestions to solve that issue?

icarus31 avatar Sep 22 '25 14:09 icarus31