mirror of
https://github.com/webmproject/libwebp.git
synced 2025-09-30 14:41:13 +02:00
{xcframework,ios}build.sh: remove 32-bit targets
The armv7, armv7s and i386 iOS targets were deprecated in Xcode 14 [1] and failed to build with Xcode 16.4. [1]: https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes Building iOS projects with deployment targets for the armv7, armv7s, and i386 architectures is no longer supported. (92831716) Change-Id: I08d376fea64638d056258798bd7e586ca6880454
This commit is contained in:
@@ -31,8 +31,8 @@ readonly OLDPATH=${PATH}
|
||||
|
||||
# Add iPhoneOS-V6 to the list of platforms below if you need armv6 support.
|
||||
# Note that iPhoneOS-V6 support is not available with the iOS6 SDK.
|
||||
PLATFORMS="iPhoneSimulator iPhoneSimulator64"
|
||||
PLATFORMS+=" iPhoneOS-V7 iPhoneOS-V7s iPhoneOS-V7-arm64"
|
||||
PLATFORMS="iPhoneSimulator64"
|
||||
PLATFORMS+=" iPhoneOS-arm64"
|
||||
readonly PLATFORMS
|
||||
readonly SRCDIR=$(dirname $0)
|
||||
readonly TOPDIR=$(pwd)
|
||||
@@ -98,7 +98,7 @@ fi
|
||||
|
||||
for PLATFORM in ${PLATFORMS}; do
|
||||
ARCH2=""
|
||||
if [[ "${PLATFORM}" == "iPhoneOS-V7-arm64" ]]; then
|
||||
if [[ "${PLATFORM}" == "iPhoneOS-arm64" ]]; then
|
||||
PLATFORM="iPhoneOS"
|
||||
ARCH="aarch64"
|
||||
ARCH2="arm64"
|
||||
|
@@ -41,8 +41,8 @@ readonly NUM_PLATFORMS=4
|
||||
readonly OLDPATH=${PATH}
|
||||
|
||||
# Names should be of the form '<platform>-[<variant>-]<architecture>'.
|
||||
PLATFORMS[$IOS]="iPhoneOS-armv7 iPhoneOS-armv7s iPhoneOS-arm64"
|
||||
PLATFORMS[$IOS_SIMULATOR]="iPhoneSimulator-i386 iPhoneSimulator-x86_64"
|
||||
PLATFORMS[$IOS]="iPhoneOS-arm64"
|
||||
PLATFORMS[$IOS_SIMULATOR]="iPhoneSimulator-x86_64"
|
||||
PLATFORMS[$MACOS]="MacOSX-x86_64"
|
||||
PLATFORMS[$MACOS_CATALYST]="MacOSX-Catalyst-x86_64"
|
||||
if [[ "${XCODE%%.*}" -ge 12 ]]; then
|
||||
|
Reference in New Issue
Block a user