Skip to content

How to build project for Apple Silicon? #62

@glushchenko

Description

@glushchenko

Works fine if run project on macOS, but if target Any Mac i am get:

Showing Recent Messages
Ignoring file /usr/local/Cellar/libssh2/1.10.0/lib/libssh2.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64

Undefined symbol: _libssh2_agent_connect
Undefined symbol: _libssh2_agent_disconnect
Undefined symbol: _libssh2_agent_free
Undefined symbol: _libssh2_agent_get_identity
Undefined symbol: _libssh2_agent_init
Undefined symbol: _libssh2_agent_list_identities
Undefined symbol: _libssh2_agent_userauth
Undefined symbol: _libssh2_channel_close
Undefined symbol: _libssh2_channel_free
...

Any suggestions?

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