Skip to content

Commit

Permalink
add arm64 to tv sims for TVOSCOMBINED
Browse files Browse the repository at this point in the history
  • Loading branch information
martingreg committed May 23, 2024
1 parent 06465b2 commit 5798589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios.toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,9 @@ elseif (PLATFORM_INT STREQUAL "TVOSCOMBINED")
set(ARCHS arm64 x86_64)
set(APPLE_TARGET_TRIPLE_INT arm64-x86_64-apple-tvos${DEPLOYMENT_TARGET})
set(CMAKE_XCODE_ATTRIBUTE_ARCHS[sdk=appletvos*] "arm64")
set(CMAKE_XCODE_ATTRIBUTE_ARCHS[sdk=appletvsimulator*] "x86_64")
set(CMAKE_XCODE_ATTRIBUTE_ARCHS[sdk=appletvsimulator*] "x86_64 arm64")
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS[sdk=appletvos*] "arm64")
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS[sdk=appletvsimulator*] "x86_64")
set(CMAKE_XCODE_ATTRIBUTE_VALID_ARCHS[sdk=appletvsimulator*] "x86_64 arm64")
else()
set(APPLE_TARGET_TRIPLE_INT ${ARCHS_SPLIT}-apple-tvos${DEPLOYMENT_TARGET})
endif()
Expand Down

0 comments on commit 5798589

Please sign in to comment.