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

Swift Package Index claims iOS compilation fails #2159

Open
weissi opened this issue Jun 3, 2022 · 0 comments
Open

Swift Package Index claims iOS compilation fails #2159

weissi opened this issue Jun 3, 2022 · 0 comments

Comments

@weissi
Copy link
Member

weissi commented Jun 3, 2022

See https://swiftpackageindex.com/apple/swift-nio/builds

Screenshot 2022-06-03 at 5 42 22 pm

    /Applications/Xcode-13.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types ${cwd}/Sources/NIOMulticastChat/main.swift -target x86_64-apple-macos10.10 -enable-objc-interop -sdk /Applications/Xcode-13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -I ${cwd}/.derivedData/Build/Products/Debug -I /Applications/Xcode-13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F ${cwd}/.derivedData/Build/Products/Debug/PackageFrameworks -F ${cwd}/.derivedData/Build/Products/Debug/PackageFrameworks -F ${cwd}/.derivedData/Build/Products/Debug/PackageFrameworks -F ${cwd}/.derivedData/Build/Products/Debug/PackageFrameworks -F ${cwd}/.derivedData/Build/Products/Debug/PackageFrameworks -F ${cwd}/.derivedData/Build/Products/Debug/PackageFrameworks -F ${cwd}/.derivedData/Build/Products/Debug/PackageFrameworks -F ${cwd}/.derivedData/Build/Products/Debug/PackageFrameworks -F ${cwd}/.derivedData/Build/Products/Debug -F /Applications/Xcode-13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -module-cache-path ${cwd}/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -new-driver-path /Applications/Xcode-13.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -serialize-debugging-options -Xcc -working-directory -Xcc ${cwd} -resource-dir /Applications/Xcode-13.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fmodule-map-file\=${cwd}/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=${cwd}/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/CNIODarwin.modulemap -Xcc -fmodule-map-file\=${cwd}/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/CNIOLinux.modulemap -Xcc -I${cwd}/Sources/CNIOAtomics/include -Xcc -I${cwd}/Sources/CNIOWindows/include -Xcc -I${cwd}/Sources/CNIODarwin/include -Xcc -I${cwd}/Sources/CNIOLinux/include -Xcc -I${cwd}/.derivedData/Build/Products/Debug/include -Xcc -I${cwd}/.derivedData/Build/Intermediates.noindex/swift-nio.build/Debug/NIOMulticastChat.build/DerivedSources-normal/x86_64 -Xcc -I${cwd}/.derivedData/Build/Intermediates.noindex/swift-nio.build/Debug/NIOMulticastChat.build/DerivedSources/x86_64 -Xcc -I${cwd}/.derivedData/Build/Intermediates.noindex/swift-nio.build/Debug/NIOMulticastChat.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name NIOMulticastChat -target-sdk-version 12.3 -emit-module-doc-path ${cwd}/.derivedData/Build/Intermediates.noindex/swift-nio.build/Debug/NIOMulticastChat.build/Objects-normal/x86_64/NIOMulticastChat.swiftdoc -emit-module-source-info-path ${cwd}/.derivedData/Build/Intermediates.noindex/swift-nio.build/Debug/NIOMulticastChat.build/Objects-normal/x86_64/NIOMulticastChat.swiftsourceinfo -o ${cwd}/.derivedData/Build/Intermediates.noindex/swift-nio.build/Debug/NIOMulticastChat.build/Objects-normal/x86_64/NIOMulticastChat.swiftmodule -emit-abi-descriptor-path ${cwd}/.derivedData/Build/Intermediates.noindex/swift-nio.build/Debug/NIOMulticastChat.build/Objects-normal/x86_64/NIOMulticastChat.abi.json
<unknown>:0: error: module map file '${cwd}/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/CNIOAtomics.modulemap' not found
<unknown>:0: error: module map file '${cwd}/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/CNIODarwin.modulemap' not found
<unknown>:0: error: module map file '${cwd}/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/CNIOLinux.modulemap' not found
${cwd}/Sources/NIOMulticastChat/main.swift:14:8: error: no such module 'NIOCore'
import NIOCore
       ^
Command EmitSwiftModule failed with a nonzero exit code

Resolve Package Graph
** BUILD FAILED **
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant