Skip to content

invalid Darwin version number: macos11.1 #4

@mycroftcanner

Description

@mycroftcanner
my-app % make
cd MyApp && \
	swift build --triple wasm32-unknown-wasi && \
	cp .build/debug/MyApp ../dist/SwiftWASM.wasm && \
	wasm-strip ../dist/SwiftWASM.wasm && \
	gzip ../dist/SwiftWASM.wasm --best
/Users/az/swift/src/github.com/felicitaspublica/my-app/MyApp: error: manifest parse error(s):
<unknown>:0: error: invalid Darwin version number: macos11.1
<unknown>:0: error: invalid version number in '-target x86_64-apple-macos11.1'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-macos.swiftinterface:1:1: error: failed to build module 'Combine' from its module interface; the compiler that produced it, 'Apple Swift version 5.3.1 (swiftlang-1200.2.41 clang-1200.0.32.8)', may have used features that aren't supported by this compiler, 'Swift version 5.3-dev (LLVM b978bd2044, Swift 6b21aa1cfd)'
// swift-interface-format-version: 1.0
^
<unknown>:0: error: invalid Darwin version number: macos11.1
<unknown>:0: error: invalid version number in '-target x86_64-apple-macos11.1'
make: *** [build] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions