fix setting DYLD_FRAMEWORK_PATH
@@ -623,7 +623,7 @@ class BinaryInstaller(object):
env_info._values_ = n.conanfile.env_info._values_.copy()
# Add cpp_info.bin_paths/lib_paths to env_info (it is needed for runtime)
env_info.DYLD_LIBRARY_PATH.extend(dep_cpp_info.lib_paths)
- env_info.DYLD_LIBRARY_PATH.extend(dep_cpp_info.framework_paths)
+ env_info.DYLD_FRAMEWORK_PATH.extend(dep_cpp_info.framework_paths)
env_info.LD_LIBRARY_PATH.extend(dep_cpp_info.lib_paths)
env_info.PATH.extend(dep_cpp_info.bin_paths)
conan_file.deps_env_info.update(env_info, n.ref.name)
