Tests: Update RunCMake.XcodeProject iOS cases for Xcode 14.0

Issue: #24011
This commit is contained in:
Brad King
2022-09-30 12:07:55 -04:00
parent 12c6fec6b4
commit 5d2c2b2558
5 changed files with 53 additions and 29 deletions
@@ -12,7 +12,11 @@ function(verify_architecture file)
string(REGEX MATCHALL "is architecture: [^ \n\t]+" architecture "${lipo_out}")
string(REGEX REPLACE "is architecture: " "" actual "${architecture}")
set(expected armv7)
if(XCODE_VERSION VERSION_GREATER_EQUAL 14)
set(expected arm64)
else()
set(expected armv7)
endif()
if(NOT actual STREQUAL expected)
message(SEND_ERROR