Skip to content

[SR-14316] SwiftPM - Building a project with developemnt toolchain fails on M1  #56675

Description

@shahmishal
Previous ID SR-14316
Radar rdar://problem/75186958
Original Reporter @shahmishal
Type Bug
Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee None
Priority Medium

Watchers: @shahmishal

md5: da3bde8e1c53c1e0a83607c1381751f5

Issue Description:

Reported: https://forums.swift.org/t/building-a-project-with-developemnt-toolchain-fails-on-m1/45450

Didn't found the right place to ask. I'm trying to build a project with a development toolchain on M1 MacAir. Is this a knowing issue?

DEVELOPMENT-SNAPSHOT-2021-03-02

xcrun --toolchain "Swift Development Snapshot" --run swift build
/Users/username/Projects/Test: error: manifest parse error(s):
/Users/username/Projects/Test/Package.swift:4:8: error: module 'PackageDescription' was created for incompatible target x86_64-apple-macosx10.15: /var/folders/91/9_b_gpss1t98xcyy6xyg7kdr0000gn/C/clang/ModuleCache/PackageDescription-3KG9PCVIYEOUP.swiftmodule
import PackageDescription

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions