Sadly, I can’t read Chinese, so I’m answering based on a machine translation. I tried this out here in my office and saw exactly the same problem: Using Xcode 26.0, I created a new project from the iOS > App template. In one of the Swift files, I added the line import AssetsLibrary. The compiler errors with Failed to build module 'AssetsLibrary'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.17.14 clang-1700.3.17.1)', while this compiler is 'Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)'). Please select a toolchain which matches the SDK. This is obviously a bug and I encourage you to file a report about it. Please post your bug number, just for the record. Having said that, Assets Library was deprecated in iOS 9 and Xcode 26’s minimum supported deployment target, per the table on this page, is iOS 15. There is literally no way to use Xcode 26 to build an app for an iOS version whe
Topic:
Media Technologies
SubTopic:
General
Tags: