You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# we use the same logic here as in Make.config to determine whether we're using a stable version of Xcode or not (search for XCODE_IS_STABLE/XCODE_IS_PREVIEW)
330
331
XCODE_IS_STABLE=$(echo "$XCODE_NAME"| sed -e 's@^Xcode[_0-9.]*[.]app$@YES@')
332
+
XCODE_VERSION=$(grep ^XCODE_VERSION= Make.config | sed 's/.*=//')
331
333
332
334
IOS_BUILD_VERSION=
333
335
TVOS_BUILD_VERSION=
334
-
if [[ "$XCODE_IS_STABLE"=="YES" ]];then
335
-
if [[ "$(arch)"=="arm64" ]];then
336
-
ARCHITECTURE_VARIANT=arm64
337
-
else
338
-
ARCHITECTURE_VARIANT=universal
336
+
if is_at_least_version "$XCODE_VERSION" 26.1;then
337
+
# passing -buildVersion .. --architectureVariant .. doesn't quite work in Xcode 26.0 (it works the first time, but then it always thinks it's the first time, tries to download and install, and gets confused), let's see if they fix it in Xcode 26.1
338
+
if [[ "$XCODE_IS_STABLE"=="YES" ]];then
339
+
if [[ "$(arch)"=="arm64" ]];then
340
+
ARCHITECTURE_VARIANT=arm64
341
+
else
342
+
ARCHITECTURE_VARIANT=universal
343
+
fi
344
+
IOS_NUGET_OS_VERSION=$(grep '^IOS_NUGET_OS_VERSION=' Make.versions | sed 's/.*=//')
0 commit comments