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

iOS 13.0 or newer error - compile fails #3366

Closed
ayrtonsoftware opened this issue Apr 8, 2024 · 3 comments
Closed

iOS 13.0 or newer error - compile fails #3366

ayrtonsoftware opened this issue Apr 8, 2024 · 3 comments

Comments

@ayrtonsoftware
Copy link

Summary

I am getting this error for many files. I don't see a way to tell the package I am already way past 13.0

apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:15:15: error: 'withThrowingTaskGroup(of:returning:body:)' is only available in iOS 13.0 or newer
try await withThrowingTaskGroup(

Version

1.9.3

Steps to reproduce the behavior

  1. Created SwiftUI Project
  2. Downloaded package as zip
  3. Add it to the project
  4. Compile to see errors

Logs

Showing Recent Messages

Build target Utilities with configuration Debug

MkDir /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator/PackageFrameworks/Utilities.framework (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    /bin/mkdir -p /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator/PackageFrameworks/Utilities.framework

WriteAuxiliaryFile /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Utilities.modulemap (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    write-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Utilities.modulemap

Copy /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/Utilities.modulemap /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Utilities.modulemap (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Utilities.modulemap /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator

WriteAuxiliaryFile /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities_const_extract_protocols.json (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    write-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities_const_extract_protocols.json

WriteAuxiliaryFile /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities.LinkFileList (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    write-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities.LinkFileList

WriteAuxiliaryFile /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/empty-Utilities.plist (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    write-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/empty-Utilities.plist

WriteAuxiliaryFile /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities.SwiftFileList (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    write-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities.SwiftFileList

WriteAuxiliaryFile /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities-OutputFileMap.json (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    write-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities-OutputFileMap.json

ProcessInfoPlistFile /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator/PackageFrameworks/Utilities.framework/Info.plist /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/empty-Utilities.plist (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    builtin-infoPlistUtility /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/empty-Utilities.plist -producttype com.apple.product-type.framework -expandbuildsettings -format binary -platform iphonesimulator -o /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator/PackageFrameworks/Utilities.framework/Info.plist

SwiftDriver Utilities normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    builtin-SwiftDriver -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Utilities -Onone -enforce-exclusivity\=checked @/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk -target arm64-apple-ios12.0-simulator -g -module-cache-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -suppress-warnings -index-store-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Index.noindex/DataStore -swift-version 5 -I /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/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.4.sdk/Developer/Library/Frameworks -c -j12 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/mbergamo/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache -output-file-map /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities_const_extract_protocols.json -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources-normal/arm64 -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources/arm64 -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities-Swift.h -working-directory /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main -experimental-emit-module-separately -disable-cmo

SwiftCompile normal arm64 Compiling\ Collection+ConcurrentCompactMap.swift /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/IsEverTrue.swift /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/LinkedList.swift -emit-dependencies-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.d -emit-const-values-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.swiftconstvalues -emit-reference-dependencies-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.swiftdeps -serialize-diagnostics-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.dia -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.4.sdk -I /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/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.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -suppress-warnings -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities_const_extract_protocols.json -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/mbergamo/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/swift-overrides.hmap -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources-normal/arm64 -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources/arm64 -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Utilities -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphonesimulator17.4 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.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 -o /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.o -index-unit-output-path /ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.o -index-store-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Index.noindex/DataStore -index-system-modules

SwiftCompile normal arm64 /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift (in target 'Utilities' from project 'ApolloCodegen')
    cd /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/IsEverTrue.swift /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/LinkedList.swift -emit-dependencies-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.d -emit-const-values-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.swiftconstvalues -emit-reference-dependencies-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.swiftdeps -serialize-diagnostics-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.dia -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.4.sdk -I /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/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.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -suppress-warnings -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Utilities_const_extract_protocols.json -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/mbergamo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/mbergamo/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-aa93b11c43e2d16681ac3fa171344f4f.sdkstatcache -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/swift-overrides.hmap -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources-normal/arm64 -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources/arm64 -Xcc -I/Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Utilities -frontend-parseable-output -disable-clang-spi -target-sdk-version 17.4 -target-sdk-name iphonesimulator17.4 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.4.sdk/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.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 -o /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Build/Intermediates.noindex/ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.o -index-unit-output-path /ApolloCodegen.build/Debug-iphonesimulator/Utilities.build/Objects-normal/arm64/Collection+ConcurrentCompactMap.o -index-store-path /Users/mbergamo/Library/Developer/Xcode/DerivedData/ServiceUpMobile-brcgktcispmsihgfdybhmweosvtk/Index.noindex/DataStore -index-system-modules

/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:15:15: error: 'withThrowingTaskGroup(of:returning:body:)' is only available in iOS 13.0 or newer
    try await withThrowingTaskGroup(
              ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:15:15: note: add 'if #available' version check
    try await withThrowingTaskGroup(
              ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:12:15: note: add @available attribute to enclosing instance method
  public func concurrentCompactMap<ElementOfResult>(
              ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:3:1: note: add @available attribute to enclosing extension
extension Collection {
^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:23:15: error: 'Task' is only available in iOS 13.0 or newer
          try Task.checkCancellation()
              ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:23:15: note: add 'if #available' version check
          try Task.checkCancellation()
              ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:12:15: note: add @available attribute to enclosing instance method
  public func concurrentCompactMap<ElementOfResult>(
              ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:3:1: note: add @available attribute to enclosing extension
extension Collection {
^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:23:20: error: 'checkCancellation()' is only available in iOS 13.0 or newer
          try Task.checkCancellation()
                   ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:23:20: note: add 'if #available' version check
          try Task.checkCancellation()
                   ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:12:15: note: add @available attribute to enclosing instance method
  public func concurrentCompactMap<ElementOfResult>(
              ^
/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:3:1: note: add @available attribute to enclosing extension
extension Collection {
^
<unknown>:0: error: 'makeAsyncIterator()' is only available in iOS 13.0 or newer

/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:15:15: 'withThrowingTaskGroup(of:returning:body:)' is only available in iOS 13.0 or newer

/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:23:15: 'Task' is only available in iOS 13.0 or newer

/Users/mbergamo/Projects/Research/ServiceUpMobile/apollo-ios-codegen-main/Sources/Utilities/Collection+ConcurrentCompactMap.swift:23:20: 'checkCancellation()' is only available in iOS 13.0 or newer

'makeAsyncIterator()' is only available in iOS 13.0 or newer

Anything else?

No response

@ayrtonsoftware ayrtonsoftware added bug Generally incorrect behavior needs investigation labels Apr 8, 2024
@calvincestari
Copy link
Member

Hi @ayrtonsoftware - I think this is an indirect error of the actual problem which is that the apollo-ios-codegen package will not build on iOS; it is exclusively a macOS package. If you're including that as a dependency for an iOS target that's likely the root cause.

@calvincestari calvincestari added awaiting response and removed needs investigation bug Generally incorrect behavior labels Apr 9, 2024
@AnthonyMDev
Copy link
Contributor

I'm closing this issue due to inactivity. If this is still unresolved, feel free to provide more information and we can re-open this, or create a new issue.

@AnthonyMDev AnthonyMDev closed this as not planned Won't fix, can't repro, duplicate, stale May 6, 2024
Copy link

github-actions bot commented May 6, 2024

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo iOS usage and allow us to serve you better.

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

No branches or pull requests

3 participants