FengNiao icon indicating copy to clipboard operation
FengNiao copied to clipboard

Error: no such module 'PackageDescription' M1 Pro

Open callo90 opened this issue 3 years ago • 4 comments

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/[email protected]:3:8: error: no such module 'PackageDescription'
import PackageDescription
       ^

Any help?

callo90 avatar Dec 13 '22 14:12 callo90

Same issue, no idea how to resolve

SaidRs avatar Jan 23 '23 14:01 SaidRs

The same problem and no idea too

iEvgeniy1 avatar Jan 28 '23 09:01 iEvgeniy1

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?

onevcat avatar Jan 28 '23 15:01 onevcat

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

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

iEvgeniy1 avatar Jan 28 '23 20:01 iEvgeniy1