My challenge usually builds with none issues with Xcode 16.4, however after I upgraded to Xcode 26.4, I encountered the error beneath.
I’ve the identical concern, I downloaded XCode 26.3 from apple web site and it at the moment solved this for some time.
Obtain earlier model of XCode from: https://developer.apple.com/services-account/obtain?path=/Developer_Tools/Xcode_26.3/Xcode_26.3_Apple_silicon.xip
There are additionally repair for XCode 26.4, however you will want to patch “/CocosCreator.app/Contents/Assets/sources/3d/engine/native/exterior/ios/libs/libwebp.a” ![]()
What do you imply this ? i cant downgrade xcode to 26.3, however have bug with libwebp.a too ![]()
I did this repair for libwebp:
mkdir /tmp/webp_fix && cd /tmp/webp_fix
# Backup authentic
cp "/Purposes/Cocos/Creator/3.8.8/CocosCreator.app/Contents/Assets/sources/3d/engine/native/exterior/ios/libs/libwebp.a"
"/Purposes/Cocos/Creator/3.8.8/CocosCreator.app/Contents/Assets/sources/3d/engine/native/exterior/ios/libs/libwebp.a.bak"
# Extract arm64
lipo "/Purposes/Cocos/Creator/3.8.8/CocosCreator.app/Contents/Assets/sources/3d/engine/native/exterior/ios/libs/libwebp.a"
-thin arm64
-output libwebp_arm64.a
# Extract all objects from the archive
ar -x libwebp_arm64.a
# Recreate with macOS libtool (handles alignment accurately)
libtool -static -o libwebp_fixed.a *.o
# Change
cp libwebp_fixed.a "/Purposes/Cocos/Creator/3.8.8/CocosCreator.app/Contents/Assets/sources/3d/engine/native/exterior/ios/libs/libwebp.a"
And if you wish to patch for XCode 26.4:/Purposes/Cocos/Creator/3.8.8/CocosCreator.app/Contents/Assets/sources/3d/engine/native/exterior/sources/enoki/half.h
#if !(outlined(_LIBCPP_VERSION) && _LIBCPP_VERSION >= 180000) && (__cplusplus struct is_floating_point<:half> : true_type { };
template struct is_arithmetic<:half> : true_type { };
template struct is_signed<:half> : true_type { };
NAMESPACE_END(std)
#endif

