firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.67k stars 1.49k forks source link

Build Failure with Firebase iOS SDK v10.22.1 - Minimum Deployment Target Issue #12530

Closed Tymoteusz24 closed 8 months ago

Tymoteusz24 commented 8 months ago

Description

Description: After updating Firebase from version 10.16.0 to 10.22.1 via Swift Package Manager, my iOS application is failing to build. The error message indicates a conflict with the minimum deployment target versions between the CoreData module and the main application.

The main app's minimum deployment target is iOS 14. Two other local packages are included with a minimum deployment target of iOS 14. The issue occurs specifically when trying to build the FirebaseRemoteConfig component. The error message (see attached screenshot) is as follows: javascript Copy code Command SwiftCompile failed with a nonzero exit code Compiling for iOS 12.0, but module 'CoreData' has a minimum deployment target of iOS 14.0: /Users/username/Library/Developer/Xcode/DerivedData/AppName-randomstring/Build/Products/Debug-iphoneos/CoreData.swiftmodule/arm64-apple-ios.swiftmodule The error suggests that there is a mismatch in the minimum deployment targets required by CoreData and FirebaseRemoteConfig.

Reproducing the issue

Update Firebase via SPM from version 10.16.0 to 10.22.1. Add other local packages with minium deployment target set to ios 14 Attempt to build the project in Xcode with the main app's minimum deployment target set to iOS 14.

Firebase SDK Version

10.22.1

Xcode Version

15.3

Installation Method

Swift Package Manager

Firebase Product(s)

Analytics, Remote Config, Storage

Targeted Platforms

iOS

Relevant Log Output

Compiling for iOS 12.0, but module 'CoreData' has a minimum deployment target of iOS 14.0: /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/CoreData.swiftmodule/arm64-apple-ios.swiftmodule

Showing All Errors Only
SwiftCompile normal arm64 Compiling\ resource_bundle_accessor.swift,\ Codable.swift,\ FirebaseRemoteConfigValueDecoderHelper.swift,\ RemoteConfigProperty.swift,\ RemoteConfigValueObservable.swift,\ SPMSwiftHeaderWorkaround.swift,\ Value.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources/resource_bundle_accessor.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/Codable.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/FirebaseRemoteConfigValueDecoderHelper.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigProperty.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigValueObservable.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/SPMSwiftHeaderWorkaround.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/Value.swift (in target 'FirebaseRemoteConfig' from project 'Firebase')
    cd /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk
    builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources/resource_bundle_accessor.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/Codable.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/FirebaseRemoteConfigValueDecoderHelper.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigProperty.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigValueObservable.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/SPMSwiftHeaderWorkaround.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/Value.swift -supplementary-output-file-map /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/supplementaryOutputs-5931 -target arm64-apple-ios12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -I /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -g -module-cache-path /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -suppress-warnings -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -O -D SWIFT_PACKAGE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/FirebaseRemoteConfig_const_extract_protocols.json -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/GoogleUtilities-NSData.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/GoogleUtilities-Logger.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/GoogleUtilities-Environment.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/third-party-IsAppEncrypted.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/GoogleUtilities-UserDefaults.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FirebaseRemoteConfigInternal.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FirebaseInstallations.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FirebaseABTesting.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FirebaseCore.modulemap -Xcc -ivfsstatcache -Xcc /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphoneos17.4-21E210-99a79c02cfa501706f5b564e46d84afe.sdkstatcache -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/swift-overrides.hmap -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/NSData+zlib/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/promises/Sources/FBLPromises/include -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Logger/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Environment/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/third_party/IsAppEncrypted/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/UserDefaults/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseInstallations/Source/Library/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseABTesting/Sources/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/CoreOnly/Sources -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/include -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources-normal/arm64 -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources/arm64 -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources -Xcc -DSWIFT_PACKAGE -module-name FirebaseRemoteConfig -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphoneos17.4 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -enable-default-cmo -num-threads 10 -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/resource_bundle_accessor.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/Codable.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/FirebaseRemoteConfigValueDecoderHelper.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/RemoteConfigProperty.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/RemoteConfigValueObservable.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/SPMSwiftHeaderWorkaround.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/Value.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/resource_bundle_accessor.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/Codable.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/FirebaseRemoteConfigValueDecoderHelper.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/RemoteConfigProperty.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/RemoteConfigValueObservable.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/SPMSwiftHeaderWorkaround.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/Value.o

CompileSwift normal arm64 (in target 'FirebaseRemoteConfig' from project 'Firebase')
    cd /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources/resource_bundle_accessor.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/Codable.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/FirebaseRemoteConfigValueDecoderHelper.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigProperty.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/PropertyWrapper/RemoteConfigValueObservable.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/SPMSwiftHeaderWorkaround.swift /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Swift/Value.swift -supplementary-output-file-map /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/supplementaryOutputs-5931 -target arm64-apple-ios12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk -I /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/PackageFrameworks -F /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -g -module-cache-path /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -suppress-warnings -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -O -D SWIFT_PACKAGE -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/FirebaseRemoteConfig_const_extract_protocols.json -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/GoogleUtilities-NSData.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/GoogleUtilities-Logger.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/GoogleUtilities-Environment.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/third-party-IsAppEncrypted.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/GoogleUtilities-UserDefaults.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FirebaseRemoteConfigInternal.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FirebaseInstallations.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FirebaseABTesting.modulemap -Xcc -fmodule-map-file\=/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos/FirebaseCore.modulemap -Xcc -ivfsstatcache -Xcc /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphoneos17.4-21E210-99a79c02cfa501706f5b564e46d84afe.sdkstatcache -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/swift-overrides.hmap -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/NSData+zlib/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/promises/Sources/FBLPromises/include -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Logger/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/Environment/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/third_party/IsAppEncrypted/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/GoogleUtilities/GoogleUtilities/UserDefaults/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseRemoteConfig/Sources/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseInstallations/Source/Library/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseABTesting/Sources/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/FirebaseCore/Sources/Public -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/SourcePackages/checkouts/firebase-ios-sdk/CoreOnly/Sources -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/include -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources-normal/arm64 -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources/arm64 -Xcc -I/Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/DerivedSources -Xcc -DSWIFT_PACKAGE -module-name FirebaseRemoteConfig -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphoneos17.4 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -enable-default-cmo -num-threads 10 -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/resource_bundle_accessor.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/Codable.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/FirebaseRemoteConfigValueDecoderHelper.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/RemoteConfigProperty.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/RemoteConfigValueObservable.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/SPMSwiftHeaderWorkaround.o -o /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Intermediates.noindex/Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/Value.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/resource_bundle_accessor.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/Codable.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/FirebaseRemoteConfigValueDecoderHelper.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/RemoteConfigProperty.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/RemoteConfigValueObservable.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/SPMSwiftHeaderWorkaround.o -index-unit-output-path /Firebase.build/Release-iphoneos/FirebaseRemoteConfig.build/Objects-normal/arm64/Value.o

<unknown>:0: error: compiling for iOS 12.0, but module 'CoreData' has a minimum deployment target of iOS 14.0: /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/CoreData.swiftmodule/arm64-apple-ios.swiftmodule

Compiling for iOS 12.0, but module 'CoreData' has a minimum deployment target of iOS 14.0: /Users/tymoteuszpasieka/Library/Developer/Xcode/DerivedData/SmartKiddo-agwpifudncasgxgvqxtovfnbjxlr/Build/Products/Release-iphoneos/CoreData.swiftmodule/arm64-apple-ios.swiftmodule

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

and pa

{ "pins" : [ { "identity" : "abseil-cpp-binary", "kind" : "remoteSourceControl", "location" : "https://github.com/google/abseil-cpp-binary.git", "state" : { "revision" : "bfc0b6f81adc06ce5121eb23f628473638d67c5c", "version" : "1.2022062300.0" } }, { "identity" : "app-check", "kind" : "remoteSourceControl", "location" : "https://github.com/google/app-check.git", "state" : { "revision" : "3e464dad87dad2d29bb29a97836789bf0f8f67d2", "version" : "10.18.1" } }, { "identity" : "firebase-ios-sdk", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/firebase-ios-sdk", "state" : { "revision" : "b880ec8ec927a838c51c12862c6222c30d7097d7", "version" : "10.20.0" } }, { "identity" : "googleappmeasurement", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleAppMeasurement.git", "state" : { "revision" : "ceec9f28dea12b7cf3dabf18b5ed7621c88fd4aa", "version" : "10.20.0" } }, { "identity" : "googledatatransport", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleDataTransport.git", "state" : { "revision" : "a637d318ae7ae246b02d7305121275bc75ed5565", "version" : "9.4.0" } }, { "identity" : "googleutilities", "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleUtilities.git", "state" : { "revision" : "26c898aed8bed13b8a63057ee26500abbbcb8d55", "version" : "7.13.1" } }, { "identity" : "grpc-binary", "kind" : "remoteSourceControl", "location" : "https://github.com/google/grpc-binary.git", "state" : { "revision" : "a673bc2937fbe886dd1f99c401b01b6d977a9c98", "version" : "1.49.1" } }, { "identity" : "gtm-session-fetcher", "kind" : "remoteSourceControl", "location" : "https://github.com/google/gtm-session-fetcher.git", "state" : { "revision" : "d415594121c9e8a4f9d79cecee0965cf35e74dbd", "version" : "3.1.1" } }, { "identity" : "interop-ios-for-google-sdks", "kind" : "remoteSourceControl", "location" : "https://github.com/google/interop-ios-for-google-sdks.git", "state" : { "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648", "version" : "100.0.0" } }, { "identity" : "leveldb", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/leveldb.git", "state" : { "revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b", "version" : "1.22.2" } }, { "identity" : "nanopb", "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/nanopb.git", "state" : { "revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692", "version" : "2.30909.0" } }, { "identity" : "promises", "kind" : "remoteSourceControl", "location" : "https://github.com/google/promises.git", "state" : { "revision" : "e70e889c0196c76d22759eb50d6a0270ca9f1d9e", "version" : "2.3.1" } }, { "identity" : "swift-protobuf", "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-protobuf.git", "state" : { "revision" : "3c54ab05249f59f2c6641dd2920b8358ea9ed127", "version" : "1.24.0" } } ], "version" : 2 }

// swift-tools-version: 5.8 // The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package( name: "CoreData", platforms: [.iOS(.v14)], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: "CoreData", targets: ["CoreData"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: / package url /, from: "1.0.0"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "CoreData", dependencies: []), .testTarget( name: "CoreDataTests", dependencies: ["CoreData"]), ] ) // swift-tools-version: 5.6 // The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package( name: "CoreUI", platforms: [.iOS(.v14)], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. .library( name: "CoreUI", targets: ["CoreUI"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. .package(path: "../CoreData"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "CoreUI", dependencies: ["CoreData"]), .testTarget( name: "CoreUITests", dependencies: ["CoreUI", "CoreData"]), ] )

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet
```yml Replace this line with the contents of your Podfile.lock! ```
google-oss-bot commented 8 months ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

Tymoteusz24 commented 8 months ago

Screenshot 2024-03-09 at 11 19 04

ncooke3 commented 8 months ago

Hi @Tymoteusz24, could you try reproducing this on Firebase 10.21.0?

paulb777 commented 8 months ago

Also, we'll likely need more information about how Firebase is integrated. It doesn't show up in the shared Package.resolved.

Tymoteusz24 commented 8 months ago
Screenshot 2024-03-12 at 19 34 47 Screenshot 2024-03-12 at 19 17 59 Screenshot 2024-03-12 at 19 11 05

@ncooke3 @paulb777 tried 10.21.0 same problem. Also tried 10.17.0, seeing the same compiling issue. The last version that works is the mentioned 10.16.0.

Below some screenshots of xcode setting let firebaseVersion = "10.20.0"

Tymoteusz24 commented 8 months ago

@paulb777 updated package resolved code in the main description

paulb777 commented 8 months ago

Thanks @Tymoteusz24 Are you able to share a reproducible example via GitHub or a zip?

Tymoteusz24 commented 8 months ago

@paulb777 I will try to provide some example but have problem to reproduce it on a fresh project. Nevertheless, to make the original project work I need to remove both FirebaseRemoteConfig module and FirebaseAnalyticsWithoutAdIdSupport. If I've just removed the RemoteConfig then the Analytics was showing an error (in the attachment)

Screenshot 2024-03-12 at 22 43 43
RebinX1 commented 8 months ago

I am also facing the same issue now, 2 days ago was because of GoogleSignIn, today is because Firebase. issue appeared after updating to the latest version of XCode.

While running my app i do get an error.

Screenshot 2024-03-13 at 2 14 38 AM
paulb777 commented 8 months ago

@Tymoteusz24 I'm wondering if there is something in the xcode project causing an erroneous build dependency between CoreData and RemoteConfig. Without a repro, it will be hard to determine what's causing that.

@RebinX1 Your problem looks different. Please open a separate issue with the template filled out.

RebinX1 commented 8 months ago

@paulb777 i will open a new issue. this error started to occur on my other mac after updating to the latest Version 15.3 (15E204a) and updating all my libraries.

2 days ago i was running into a similar situation with GoogleSignIn but that issue is fixed now.

to answer the question of CoreData i do not have CoreData in my application and i dont even know why its mentioning it here.

The same Codebase runs fine on my other Mac mini which runs an older version of Xcode.

I will open a new issue with the full details soon.

kamalk2 commented 8 months ago

@RebinX1 and @paulb777 this issue occurs only in XCode 15.3 . I had to revert back to XCode 15.2 to upload my archives

Tymoteusz24 commented 8 months ago

@RebinX1 core data is my local private package.

Tymoteusz24 commented 8 months ago

@paulb777 I was able to reproduce it on the clean project, adding my CoreData dependency together with Firebase. Please let me know if the zip attached produce the same issue on your end

vladimirDarksy commented 8 months ago

@RebinX1 when u create ur issue, plz give me a link, because I have same issue in the part of my projects. I really can't figure out, because some of them work, but some not, I tried all various of versions, but nothing helped. Thanks

ncooke3 commented 8 months ago

Thanks, @Tymoteusz24, I can reproduce the issue using your project. I'm still working on figuring out why this is happening. For now, Xcode 15.2 seems like a valid workaround.

paulb777 commented 8 months ago

Thanks for sharing the repro @Tymoteusz24

I reproduced the issue and then successfully built RemoteConfig after renaming CoreData to CoreData2.

It looks like Apple tooling has an issue with naming a target after one of the system libraries https://developer.apple.com/documentation/coredata

I suggest renaming and/or reporting an issue to Apple.

Tymoteusz24 commented 8 months ago

@paulb777 thank you! You saved my day. Working for me :)