Skip to content

Can't build project when using the Swift Package Manager #1271

@icarus31

Description

@icarus31

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions