--- CMakeLists.txt	2025-11-01 03:07:34.000000000 +0800
+++ CMakeLists.txt	2025-11-02 07:06:12.000000000 +0800
@@ -63,56 +63,6 @@
         source_group("Source Files\\windows" FILES ${AWS_CAL_OS_SRC})
     endif ()
 
-elseif (APPLE)
-    if(DEFINED CMAKE_OSX_SYSROOT)
-        message(STATUS "CMAKE_OSX_SYSROOT is defined and set to: ${CMAKE_OSX_SYSROOT} this value")
-    else()
-        message(STATUS "CMAKE_OSX_SYSROOT is not defined")
-    endif()
-
-    # As of CMake 4.0 isysroot is no longer set on mac and instead /usr/local is checked
-    # On systems where custom headers are installed at that location (homebrew loves doing that)
-    # we can end up building against random libcrypto headers, which are not guaranteed to be forward compatible.
-    # This tries to set isysroot in a way that works on as many combinations of cmake and os as possible.
-    if(NOT CMAKE_OSX_SYSROOT)
-        execute_process(
-            COMMAND xcrun --show-sdk-path
-            RESULT_VARIABLE XCRUN_RESULT
-            OUTPUT_VARIABLE CMAKE_OSX_SYSROOT
-            OUTPUT_STRIP_TRAILING_WHITESPACE
-            ERROR_QUIET
-        )
-        if(NOT XCRUN_RESULT EQUAL 0)
-            message(WARNING "Failed to determine SDK path using xcrun")
-        endif()
-    endif()
-
-    if (NOT BYO_CRYPTO)
-        file(GLOB AWS_CAL_OS_SRC
-            "source/darwin/*.c"
-        )
-
-        if (AWS_USE_LIBCRYPTO_TO_SUPPORT_ED25519_EVERYWHERE)
-            list(APPEND AWS_CAL_OS_SRC "source/shared/ed25519.c")
-            list(APPEND AWS_CAL_OS_SRC "source/shared/lccrypto_common.c")
-        else()
-            list(APPEND AWS_CAL_OS_SRC "source/shared/ed25519_noop.c")
-        endif()
-
-        list(APPEND AWS_CAL_OS_SRC "source/shared/ref_hkdf.c")
-
-        find_library(SECURITY_LIB Security)
-        if (NOT SECURITY_LIB)
-           message(FATAL_ERROR "Security Framework not found")
-        endif ()
-
-        find_library(COREFOUNDATION_LIB CoreFoundation)
-        if(NOT COREFOUNDATION_LIB)
-           message(FATAL_ERROR "CoreFoundation Framework not found")
-        endif()
-
-        list(APPEND PLATFORM_LIBS "-framework Security -framework CoreFoundation")
-    endif()
 else ()
     if (NOT BYO_CRYPTO)
         file(GLOB AWS_CAL_OS_SRC
@@ -126,7 +76,7 @@
 endif()
 
 if (NOT BYO_CRYPTO)
-    if ((NOT WIN32 AND NOT APPLE) OR AWS_USE_LIBCRYPTO_TO_SUPPORT_ED25519_EVERYWHERE)
+    if (NOT WIN32 OR AWS_USE_LIBCRYPTO_TO_SUPPORT_ED25519_EVERYWHERE)
         if (USE_OPENSSL AND NOT ANDROID)
             find_package(OpenSSL REQUIRED)
             find_package(Threads REQUIRED)
