tanersener / mobile-ffmpeg

FFmpeg for Android, iOS and tvOS. Not maintained anymore. Superseded by FFmpegKit.
https://tanersener.github.io/mobile-ffmpeg
GNU General Public License v3.0
3.85k stars 787 forks source link

Add support for arm64 iOS Simulator on Mac with Apple Silicon chip #632

Closed salpieiev closed 3 years ago

salpieiev commented 3 years ago

Description It's impossible to use Mobile FFMpeg framework on iOS Simulator on Mac with Apple Silicon chip. Resulting framework contains arm64 binary for iphoneos platform, but it doesn't fit for iphonesimulator platform.

Expected behavior ios.sh script is able to build XCFramework with iphonesimulator arm64 architecture

Current behavior XCode complains that Mobile FFMpeg framework is built for different platform (iPhoneOS), but attempt is made to use it on iPhone Simulator platform

Screenshot

Screenshot 2020-12-27 at 22 29 48

Environment

IshchenkoAndriy commented 3 years ago

Any updates?

I have the same problem.

confucious commented 3 years ago

Root issue: https://github.com/tanersener/mobile-ffmpeg/issues/597