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

Fails to Build on Apple Silicon #11

Closed
alexclst opened this issue Nov 20, 2020 · 1 comment
Closed

Fails to Build on Apple Silicon #11

alexclst opened this issue Nov 20, 2020 · 1 comment

Comments

@alexclst
Copy link

When I try to build this on an Apple Silicon Mac it fails to build with the following error:

swiftc watchid-pam-extension.swift -o pam_watchid.so -target x86_64-apple-macosx10.15 -emit-library
<unknown>:0: error: unable to load standard library for target 'x86_64-apple-macosx10.15'
make: *** [all] Error 1

The TARGET needs to be platform-sensitive and use the right value for the given OS and architecture, I think.

@ReubenBTalbott
Copy link

Someone in issue #7 got it to run on Apple Silicon by changing the build architecture in the make file.

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

2 participants