aliyun / aliyun-oss-ios-sdk

iOS SDK for aliyun object storage service
Other
466 stars 319 forks source link

Make iphonesimulator support arm64 #375

Open shangzhenyang opened 6 months ago

shangzhenyang commented 6 months ago

It makes "iphonesimulator" support the arm64 arch by using XCFramework. It fixed the problem that the developers needed to add "exclude architecture: arm64" in the build settings of their apps using AliyunOSS SDK to run their app on simulators on Apple Silicon Macs. It also fixes the problem that it could not run in the Vision Pro simulator. The fix is verified by replacing the newly compiled SDK in my project, and it works.