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

Error: no such module 'PackageDescription' M1 Pro #72

Open
callo90 opened this issue Dec 13, 2022 · 4 comments
Open

Error: no such module 'PackageDescription' M1 Pro #72

callo90 opened this issue Dec 13, 2022 · 4 comments

Comments

@callo90
Copy link

callo90 commented Dec 13, 2022

Hey guys, I'm getting this error installing FengNiao in a MacBook Pro 2021 with M1 Pro.

With HomeBrew and Mint

error: no such module 'PackageDescription'
import PackageDescription
       ^

Compiled Manually with Verbose

error: 'fengniao': Invalid manifest
<unknown>:0: remark: did not find a prebuilt standard library for target 'arm64-apple-macos' compatible with this Swift compiler; building it may take a few minutes, but it should only happen once for this combination of compiler and target
/Users/carlos.lopez/Development/FengNiao/Package@swift-5.0.swift:3:8: error: no such module 'PackageDescription'
import PackageDescription
       ^

Any help?

@SaidRs
Copy link

SaidRs commented Jan 23, 2023

Same issue, no idea how to resolve

@iEvgeniy1
Copy link

The same problem and no idea too

@onevcat
Copy link
Owner

onevcat commented Jan 28, 2023

Ummm,

I cannot reproduce it. The installation goes fine under my MacBook Pro with the Apple M1 Pro chip:

截屏2023-01-29 0 03 27

PackageDescription should be a part of the Xcode environment and shipped with the Swift package manager. I guess the most possible reason is there's something wrong with the Xcode environment on your machine. Can you confirm that you have selected the correct Xcode path/version under the "Command Line Tools" setting in the "Locations" tab of your Xcode Preference panel?

@iEvgeniy1
Copy link

iEvgeniy1 commented Jan 28, 2023

When I chose here, what was the only thing, then everything worked!

Снимок экрана 2023-01-28 в 23 36 38

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

4 participants