Apollo iOS SPM throws error saying Command SwiftCompile failed with a nonzero exit code

I am using apollo ios version 1.9.0 , i install the CLI for Code generation as well. I just downloaded my schema by using ./apollo-ios-cli fetch-schema , I created one graphql file as well in the graphql folder and no more code has been added by me,its just an empty UiKit app with deployment target of 17. When i try to build my app i get following error


Showing Recent Issues

Build target Utilities with configuration Debug

SwiftCompile normal arm64 Compiling\ Collection+ConcurrentCompactMap.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/apollo-ios-codegen/Sources/Utilities/Collection+ConcurrentCompactMap.swift (in target 'Utilities' from project 'ApolloCodegen')
 DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaChanger.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaDefinitions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaReader.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/AggregateFunctions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Coding.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Collation.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/CoreFunctions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/CustomFunctions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/DateAndTimeFunctions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Operators.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Query+with.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Query.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Schema.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Setter.swift -supplementary-output-file-map /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/supplementaryOutputs-211 -target arm64-apple-ios12.0-simulator -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -I /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Products/Debug-iphonesimulator -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Products/Debug-iphonesimulator -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/Developer/Library/Frameworks -no-color-diagnostics -suppress-warnings -enable-testing -g -module-cache-path /Users/transformhub/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLite_const_extract_protocols.json -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/transformhub/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/transformhub/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/swift-overrides.hmap -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/DerivedSources-normal/arm64 -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/DerivedSources/arm64 -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SQLite -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.2 -target-sdk-name iphonesimulator17.2 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.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 -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Connection.o -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Errors.o -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Result.o -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLiteFeature.o -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLiteVersion.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Connection.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Errors.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Result.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLiteFeature.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLiteVersion.o -index-store-path /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Index.noindex/DataStore -index-system-modules

Command SwiftCompile failed with a nonzero exit code

Command SwiftCompile failed with a nonzero exit code

SwiftCompile normal arm64 Compiling\ Connection.swift,\ Errors.swift,\ Result.swift,\ SQLiteFeature.swift,\ SQLiteVersion.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Connection.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Errors.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Result.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/SQLiteFeature.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/SQLiteVersion.swift (in target 'SQLite' from project 'SQLite.swift')
    cd /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift    builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Backup.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Blob.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Connection+Aggregation.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Connection+Attach.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Connection+Pragmas.swift -primary-file /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Connection.swift -primary-file /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Errors.swift -primary-file /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Result.swift -primary-file /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/SQLiteFeature.swift -primary-file /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/SQLiteVersion.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Statement.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/URIQueryParameter.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Core/Value.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Extensions/Cipher.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Extensions/FTS4.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Extensions/FTS5.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Extensions/RTree.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Foundation.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Helpers.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Schema/Connection+Schema.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaChanger.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaDefinitions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Schema/SchemaReader.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/AggregateFunctions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Coding.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Collation.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/CoreFunctions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/CustomFunctions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/DateAndTimeFunctions.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Operators.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Query+with.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Query.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Schema.swift /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift/Sources/SQLite/Typed/Setter.swift -supplementary-output-file-map /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/supplementaryOutputs-211 -target arm64-apple-ios12.0-simulator -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -I /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Products/Debug-iphonesimulator -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Products/Debug-iphonesimulator -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/Developer/Library/Frameworks -no-color-diagnostics -suppress-warnings -enable-testing -g -module-cache-path /Users/transformhub/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLite_const_extract_protocols.json -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/transformhub/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/SourcePackages/checkouts/SQLite.swift -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/transformhub/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/swift-overrides.hmap -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/DerivedSources-normal/arm64 -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/DerivedSources/arm64 -Xcc -I/Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SQLite -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.2 -target-sdk-name iphonesimulator17.2 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.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 -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Connection.o -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Errors.o -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Result.o -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLiteFeature.o -o /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Build/Intermediates.noindex/SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLiteVersion.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Connection.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Errors.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/Result.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLiteFeature.o -index-unit-output-path /SQLite.swift.build/Debug-iphonesimulator/SQLite.build/Objects-normal/arm64/SQLiteVersion.o -index-store-path /Users/transformhub/Library/Developer/Xcode/DerivedData/mysecondapp-ayqoxklejovprwfmuhjbldiqblmn/Index.noindex/DataStore -index-system-modules

@Pritish_Sawant You mentioned you are using the CLI for code generation, the error you posted looked like your app is linking against a target from apollo-ios-codegen package. That package is only needed in your project if you plan to do code generation through Swift scripting, and you shouldn’t link your iOS app against any of the apollo-ios-codegen targets.

1 Like

@ZachF-Apollo Thank you