Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FirebaseStorage-Swift.h missing in SPM build #1028

Open
kjsakata opened this issue Jun 7, 2022 · 30 comments · Fixed by #1098
Open

FirebaseStorage-Swift.h missing in SPM build #1028

kjsakata opened this issue Jun 7, 2022 · 30 comments · Fixed by #1098

Comments

@kjsakata
Copy link

kjsakata commented Jun 7, 2022

Environment
Xcode version: 13.3.1
SPM
Firebase Component: FirebaseStorage (firebase-ios-sdk v9.1.0), FirebaseUI-iOS v12.2.0
Language: Swift

Problem

There is a reference to FirebaseStorage-Swift.h added in Update FirebaseUI for v8.x and v9.x compatibility #1024, but this header file cannot be generated automatically by the SPM build, even though it can be built successfully in Pods.
In order for SPM to build successfully without the cumbersome manual generation and addition of header files, it is necessary to statically place a ver 9-compliant header file in the FirebaseStorage library, as is the case with ver 8 support.

Is there a validity and plan to add a FirebaseStorage-Swift.h(ver 9-compliant header file) to the FirebaseStorage library for firebase-ios-sdk v9?

@morganchen12
Copy link
Contributor

Apologies for the breakage, this is fixed in #1029.

@morganchen12
Copy link
Contributor

To clarify, the FirebaseStorage-Swift.h header is generated by CocoaPods. SPM users should use module imports instead.

@cerupcat
Copy link

cerupcat commented Jun 8, 2022

@morganchen12 Not sure if it's related, but the fix still has an error with importing:

Could not build Objective-C module 'FirebaseStorageUI'

@morganchen12
Copy link
Contributor

Normally that error is associated with another error (the build failure when trying to build the module), can you find that error message?

@cerupcat
Copy link

cerupcat commented Jun 8, 2022 via email

@morganchen12
Copy link
Contributor

@cerupcat can you share the full build log?

@everydayodyssey-jessicacraddock
Copy link

everydayodyssey-jessicacraddock commented Jul 14, 2022

I am also seeing the same issue that @cerupcat and @kjsakata both described. I have a test project that is just a plain Swift app with a ContentView.swift file.

I cloned FirebaseUI locally and added it as a local package to my Swift test project and got no errors but as soon as I attempt to use it by adding import FirebaseStorageUI, it throws the following errors using Xcode 13.4.1 using the master branch of FirebaseUI-iOS:

/Users/jcraddock/Documents/iOS/Projects/Products/Testing/FirebaseUI-iOS/FirebaseStorageUI/Sources/Public/FirebaseStorageUI/UIImageView+FirebaseStorage.h:26:11: Module 'FirebaseStorage' not found
(line 26 of UIImageView+FirebaseStorage file)

/Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest/SwiftPackageTest/ContentView.swift:2:8: Could not build Objective-C module 'FirebaseStorageUI'
(line 2 of ContentView.swift)

Command EmitSwiftModule failed with a nonzero exit code
See full build log below:

Showing All Messages
MkDir /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/SwiftPackageTest.app/Frameworks (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    /bin/mkdir -p /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/SwiftPackageTest.app/Frameworks

MkDir /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/SwiftPackageTest.app (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    /bin/mkdir -p /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/SwiftPackageTest.app

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/DerivedSources/Entitlements-Simulated.plist (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/DerivedSources/Entitlements-Simulated.plist

ProcessProductPackaging "" /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest.app-Simulated.xcent (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    
    Entitlements:
    
    {
    "application-identifier" = "2K3943GMN6.com.iOS.jc.SwiftPackageTest";
}
    
    builtin-productPackagingUtility -entitlements -format xml -o /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest.app-Simulated.xcent

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/DerivedSources/Entitlements.plist (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/DerivedSources/Entitlements.plist

ProcessProductPackaging "" /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest.app.xcent (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    
    Entitlements:
    
    {
    "com.apple.security.get-task-allow" = 1;
}
    
    builtin-productPackagingUtility -entitlements -format xml -o /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest.app.xcent

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-all-non-framework-target-headers.hmap (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-all-non-framework-target-headers.hmap

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-all-target-headers.hmap (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-all-target-headers.hmap

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-generated-files.hmap (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-generated-files.hmap

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-own-target-headers.hmap (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-own-target-headers.hmap

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-project-headers.hmap (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-project-headers.hmap

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest.hmap (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest.hmap

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/all-product-headers.yaml (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/all-product-headers.yaml

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest-OutputFileMap.json (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest-OutputFileMap.json

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest.SwiftFileList (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest.SwiftFileList

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest.LinkFileList (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest.LinkFileList

WriteAuxiliaryFile /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/empty-SwiftPackageTest.plist (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    write-file /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/empty-SwiftPackageTest.plist

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'SwiftPackageTest' from project 'SwiftPackageTest')
    cd /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest
    export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer
    export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name SwiftPackageTest -Onone -enable-batch-mode -enforce-exclusivity\=checked @/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest.SwiftFileList -DDEBUG -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_ISASwizzler.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebasePerformance.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebasePerformanceTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/SDWebImage.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseStorageUI.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAnalyticsSwiftTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleAppMeasurementTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAnalyticsWrapper.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAnalyticsTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleAppMeasurementOnDeviceConversionTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAnalyticsOnDeviceConversionTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseFirestoreSwiftTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAppCheck.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseABTesting.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseRemoteConfig.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseMessagingInterop.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/leveldb.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/abseil.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/openssl_grpc.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/gRPC-Core.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/gRPC-cpp.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseFirestore.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseFirestoreTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseCrashlytics.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAuth.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseStorageInternal.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseCoreExtension.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAuthInterop.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAppCheckInterop.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleDataTransport.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/nanopb.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_UserDefaults.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleAppMeasurementWithoutAdIdSupportTarget.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_AppDelegateSwizzler.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_MethodSwizzler.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_Reachability.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_NSData.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_Logger.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_Environment.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/GoogleUtilities_Network.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAnalyticsWithoutAdIdSupportWrapper.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseInstallations.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseCore.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseCoreDiagnostics.modulemap -Xcc -fmodule-map-file\=/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/FirebaseAnalyticsWithoutAdIdSupportTarget.modulemap -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.5.sdk -target x86_64-apple-ios15.5-simulator -g -module-cache-path /Users/jcraddock/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Index/DataStore -swift-version 5 -I /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/PackageFrameworks -F /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator -emit-localized-strings -emit-localized-strings-path /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64 -c -j8 -output-file-map /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest.swiftmodule -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-generated-files.hmap -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-own-target-headers.hmap -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/SwiftPackageTest-project-headers.hmap -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/ISASwizzler/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebasePerformance/Sources/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/SwiftPM-PlatformExclude/FirebasePerformanceWrap/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/SDWebImage/SDWebImage/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/gtm-session-fetcher/Source/SwiftPackage -Xcc -I/Users/jcraddock/Documents/iOS/Projects/Products/Testing/FirebaseUI-iOS/FirebaseStorageUI/Sources/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/SwiftPM-PlatformExclude/FirebaseAnalyticsSwiftWrap/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleAppMeasurement/GoogleAppMeasurementWrapper/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseAnalyticsWrapper/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/SwiftPM-PlatformExclude/FirebaseAnalyticsWrap/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleAppMeasurement/GoogleAppMeasurementOnDeviceConversionWrapper/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseAnalyticsOnDeviceConversionWrapper/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/SwiftPM-PlatformExclude/FirebaseFirestoreSwiftWrap/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseAppCheck/Sources/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseABTesting/Sources/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseMessaging/Interop -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/leveldb/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/abseil-cpp-SwiftPM -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/boringssl-SwiftPM/src/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/grpc-ios/native_src/spm-core-include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/grpc-ios/native_src/spm-cpp-include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/Firestore/Source/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/SwiftPM-PlatformExclude/FirebaseFirestoreWrap/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/Crashlytics/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseAuth/Sources/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/gtm-session-fetcher/Source/SwiftPackage -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseStorageInternal/Sources/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Extension -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseAuth/Interop -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseAppCheck/Interop -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleDataTransport/GoogleDataTransport/GDTCORLibrary/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/nanopb/spm_headers -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/promises/Sources/FBLPromises/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/UserDefaults/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleAppMeasurement/GoogleAppMeasurementWithoutAdIdSupportWrapper/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/AppDelegateSwizzler/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/MethodSwizzler/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Reachability/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/NSData+zlib/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Logger/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Environment/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Network/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseAnalyticsWithoutAdIdSupportWrapper/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseInstallations/Source/Library/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/Public -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/Firebase/CoreDiagnostics/FIRCDLibrary -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/CoreOnly/Sources -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/SourcePackages/checkouts/firebase-ios-sdk/SwiftPM-PlatformExclude/FirebaseAnalyticsWithoutAdIdSupportWrap/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/DerivedSources-normal/x86_64 -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/DerivedSources/x86_64 -Xcc -I/Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/DerivedSources -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/jcraddock/Library/Developer/Xcode/DerivedData/SwiftPackageTest-dzmntdzqodrfcaapewmtnibkusax/Build/Intermediates.noindex/SwiftPackageTest.build/Debug-iphonesimulator/SwiftPackageTest.build/Objects-normal/x86_64/SwiftPackageTest-Swift.h -working-directory /Users/jcraddock/Documents/iOS/Projects/Products/Testing/SwiftPackageTest

error: emit-module command failed with exit code 1 (use -v to see invocation)

More info:

  • Xcode 13.4.1
  • FirebaseUI-iOS (FirebaseStorageUI only) master branch (commit 12c15e6)
  • New iOS SwiftUI/Swift App (no other files besides the default main app file and ContentView with Hello World placeholder Text)

Any help would be greatly appreciated. Thanks in advance!

@everydayodyssey-jessicacraddock
Copy link

everydayodyssey-jessicacraddock commented Jul 14, 2022

In case anyone else is struggling with this same issue, I was able to get around this issue by adding FirebaseUI-iOS by searching for and adding the hosted GitHub repo (rather locally cloning the repo and pointing it to my local copy).

I saw this issue #1017 and saw the comment @kfujino7 left about the Package Dependency Rule needing to be set to 12.1.1 < 13.0.0. I was originally searching for "FirebaseUI" in the File > Add Packages > search box which wasn't pulling up FirebaseUI-iOS which in turn lead me to try and install the package by cloning it locally and adding my local copy of FirebaseUI-iOS (Add Packages > Add Local). But once I searched for the full GitHub URL (https://github.com/firebase/FirebaseUI-iOS) in the Xcode Swift Packages window, I was able to set the Package Dependency rule to Up to Next Minor Version 12.1.1 < (default value). 🤦‍♀️ Now it builds and finds the module just fine.

TLDR: Attempting to clone and add FirebaseUI-iOS as a local package doesn't work. You need to search the full GitHub url in the Xcode Swift Packages window to find FirebaseUI-iOS, then update the dependency rule to a version higher than 12.1.1 which supports SPM.

Hope this helps someone!

@everydayodyssey-jessicacraddock

Nevermind... The same three errors came back. 😢

I started a brand new SwiftUI project, added the hosted https://github.com/firebase/firebase-ios-sdk repo via the Xcode Swift Packages window with the dependency rule set to different variations of "up to next minor version" = 12.0.0, 12.1.1, and 12.2.0 as well as branch = "master".

Initially it built and ran the project fine with just FirebaseUI-iOS (using just FirebaseStorageUI) added as the only package. But as soon as I tried to also add the main Firebase package (https://github.com/firebase/firebase-ios-sdk) (tried master & v9.2.0) so that I could use some of the more specific products like FirebaseFirestoreSwift, I was faced with the same 3 errors on build.

Module 'FirebaseStorage' not found
line 26 of UIImageView+FirebaseStorage that is the #else clause of @import FirebaseStorage;
Could not build Objective-C module 'FirebaseStorageUI'
Command EmitSwiftModule failed with a nonzero exit code

It was odd that I was able to run the project once without errors when only FirebaseUI was added. But now even if I remove the other main Firebase package that I thought was making the errors come back, I'm still seeing the errors when I remove the main Firebase package and only have the FirebaseUI one installed.

Hope this gives more clues to what's going on.

@dpyeates
Copy link

How exactly is FirebaseStorage-Swift.h header generated by CocoaPods?

I am using React Native/Cocoapods and I am getting

Screenshot 2022-07-19 at 18 06 38

@charlieswing
Copy link

Also facing this issue. Any updates?

@AnthonyJamez12
Copy link

AnthonyJamez12 commented Jul 24, 2022

Same I've had this issue for a couple of days and nothing has helped. I switched too sudo @react-native-firebase/[email protected] everything worked perfectly.

@everydayodyssey-jessicacraddock

I was not able to get the latest FirebaseUI-iOS versions (v12.0.0+ or the master branch) to build with any version of firebase-ios-sdk that was greater than v8.15.0

From what I suspect, the version 9.0.0 of firebase-ios-sdk changed the directory structure from what it was in version 8 and something in FirebaseUI-iOS's StorageUI is not finding the proper module declaration or header files when using the v9+ Firebase framework. By using v12.2.0 of FirebaseUI-iOS and v8.15.0 of firebase-ios-sdk, I was eventually able to get Swift Package Manager to build successfully and resolve all the build errors. But this means that I have to use the beta versions of things like FirebaseFirestoreSwift since those didn't come out of Beta until v9.0.0. It's not ideal but maybe this will help someone else who needs a stop gap solution until FirebaseUI-iOS's StorageUI can work with v9+ of firebase-ios-sdk.

(Also FYI, I'm building a native SwiftUI project in Xcode using Swift Package Manager (SPM) like the original poster and not React Native or CocoaPods)

@pierroo
Copy link

pierroo commented Jul 31, 2022

Passing by in case anyone found a fix yet for react-native-firebase > 15? :/

EDIT: found some additional info here:
https://firebase.google.com/support/release-notes/ios

Seems like there are some breaking change for Cocoapods users like us:

Deprecated:
Usage of the Firebase pod, the Firebase module (import Firebase), and Firebase.h is deprecated. Use the specific Firebase product instead, for example pod 'FirebaseMessaging' and import FirebaseMessaging.

Breaking change: Podfiles must include use_frameworks! or use_frameworks! :linkage => :static.

Breaking change: C++/Objective-C++ clients should use #import <FirebaseFunctions/FirebaseFunctions-Swift.h> and #import <FirebaseStorage/FirebaseStorage-Swift.h> to access Functions and Storage APIs, respectively.

Of course using use_frameworks! breaks other stuff on my end, but thought that might help someone else...

@guiathayde
Copy link

guiathayde commented Aug 8, 2022

@pierroo Where do I put this:

Breaking change: C++/Objective-C++ clients should use #import <FirebaseFunctions/FirebaseFunctions-Swift.h> and #import <FirebaseStorage/FirebaseStorage-Swift.h> to access Functions and Storage APIs, respectively.

@ybrikeeg
Copy link

ybrikeeg commented Aug 8, 2022

@morganchen12 Looks like a lot of us are still getting the issue using SPM. This means that we cannot use the latest version of firebase-ios-sdk.

+1 issue reported by @cerupcat

@ybrikeeg
Copy link

ybrikeeg commented Aug 9, 2022

I wrote a helper function to achieve the same caching functionality with firebase storage while the FirebaseUI-iOS library is not compatible with firebase-ios-sdk v9.0.0+.

public extension UIImageView {
  func setFirebaseStorageImage(imageUrl: String) {
    SDImageCache().queryImage(forKey: imageUrl, options: SDWebImageOptions(), context: nil) { image, _, _ in
      if let _ = image {
        // Use cached imageUrl
        self.image = image
      } else {
        // Image not cached, download from FirebaseStorage
        let imgRef = FirebaseStorage.Storage.storage().reference().child(imageUrl)
        imgRef.downloadURL { url, _ in
          if let url = url {
            self.sd_setImage(with: url, placeholderImage: nil, options: SDWebImageOptions()) { image, _, _, _ in
              if let image = image {
                SDImageCache().store(image, forKey: imageUrl, toDisk: true)
              }
            }
          }
        }
      }
    }
  }
}

@guiathayde
Copy link

guiathayde commented Aug 9, 2022

How exactly is FirebaseStorage-Swift.h header generated by CocoaPods?

I am using React Native/Cocoapods and I am getting

Screenshot 2022-07-19 at 18 06 38

Did you find any solution? @dpyeates

@XeeshanAnsari
Copy link

XeeshanAnsari commented Aug 19, 2022

I am getting the same error. Any solution??

Screenshot 2022-08-19 at 9 26 55 PM

@AcxelAmbrosi
Copy link

Estoy teniendo el mismo error. ¿¿Alguna solución??

Captura de pantalla 2022-08-19 a las 9 26 55 p. m.

Did you find the solution to this problem friend?

@levelchanger
Copy link

This is build problem is still not fixed with 12.3.0. Create a new single view app in Xcode 13.4.1. Using SPM, add the Firebase UI package and just select the Firebase Storage UI. In ViewController.swift, import FirebaseStorage and FirebaseStorageUI and build. Here’s the result:

image

@morganchen12 morganchen12 reopened this Sep 27, 2022
@jeromescheer
Copy link

jeromescheer commented Sep 28, 2022

I'm facing the same issue using Xcode 14.0.1. I have to use Firebase 8.15.0 to be able to build with the latest version of the FirebaseUI package 🤔

Note : using SPM

@morganchen12
Copy link
Contributor

Hey all, if you're running into this issue with the latest version, can you try adding

-Xcc -fmodule-map-file=$(GENERATED_MODULEMAP_DIR)/FirebaseStorage.modulemap

to your target's Other Swift Flags build setting?

@levelchanger
Copy link

That works! Will it be added to the documentation for how to use the package?

@morganchen12
Copy link
Contributor

I think this is something that Swift Package Manager is supposed to be adding to your target automatically. It's filed as a bug in swiftlang/swift-package-manager#4531 and described in this forum thread by the same author.

I'll add a comment to the line where Xcode raises the build error and keep this issue open for the time being.

@JackYoustra
Copy link

Note that if you're in a pure SPM target, there's no way to access $(GENERATED_MODULEMAP_DIR) from .unsafeFlags, so you're going to have to insert the path manually for the time being into swiftSettings.

@AqeelAsghar
Copy link

hey guys it solve this issue by follow this instruction from https://rnfirebase.io/ and then go to section: Altering Cocoa pods to use frameworks
go to podfile of the project

  1. use_frameworks! :linkage => :static
    $RNFirebaseAsStaticFramework = true
  2. comment the use_flipper!()

that work for me

@alexanderkhitev
Copy link

Hey guys! Any news/updates? Thanks.

@morganchen12
Copy link
Contributor

@alexanderkhitev we're still blocked on the unresolved SPM bug. Have you had any issues with the workaround?

@alexanderkhitev
Copy link

@alexanderkhitev we're still blocked on the unresolved SPM bug. Have you had any issues with the workaround?

Hey @morganchen12 ! No, I don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.