Skip to content

“libc10.dylib” can’t be opened because Apple cannot check it for malicious software. #120606

@NiharJani2002

Description

@NiharJani2002

🐛 Describe the bug

C++ Execution Running lib torch on Mac. Using latest version of lib torch downloaded using https://pytorch.org/get-started/locally/.

Cmake file code

cmake_minimum_required(VERSION 3.1)
project(torchtest)
set(CMAKE_PREFIX_PATH "/Users/niharjani/Desktop/BRATSC++/libtorch")
find_package(Torch REQUIRED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TORCH_CXX_FLAGS}")
add_executable(main main.cpp)
target_link_libraries(main "${TORCH_LIBRARIES}")
set_property(TARGET main PROPERTY CXX_STANDARD 14)

Versions

Running
Screenshot 2024-02-26 at 15 17 03

cc @seemethere @malfet @osalpekar @atalman @svekars @brycebortree @albanD

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: binariesAnything related to official binaries that we release to usersmodule: docsRelated to our documentation, both in docs/ and docblocksmodule: macosMac OS related issuesneeds reproductionEnsure you have actionable steps to reproduce the issue. Someone else needs to confirm the repro.securitytriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions