Skip to content

Commit

Permalink
Temporarily fix the install combined by excluding arm64 for simulator…
Browse files Browse the repository at this point in the history
… builds.
  • Loading branch information
Alexander Widerberg committed Dec 21, 2020
1 parent e4f0edd commit 6e9021a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ios.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ string(REGEX REPLACE "Xcode ([0-9\\.]+)" "\\1" XCODE_VERSION "${XCODE_VERSION}")
# if you don't set a deployment target it will be set the way you only get 64-bit builds
if(NOT DEFINED DEPLOYMENT_TARGET AND XCODE_VERSION VERSION_GREATER 12.0)
option(DROP_32_BIT "Will make drop 32-bit support universally. On later sdks you won't be able to build 32-bit apps" yes)
# Temporarily fix the arm64 issues in CMake install-combined by excluding arm64 for simulator builds (needed for Apple Silicon...)
set(CMAKE_XCODE_ATTRIBUTE_EXCLUDED_ARCHS[sdk=iphonesimulator*] "arm64")
endif()

######## ALIASES (DEPRECATION WARNINGS)
Expand Down

0 comments on commit 6e9021a

Please sign in to comment.