Closed chinaxxren closed 5 months ago
=== [./do-compile/libyuv.sh] check env begin=== XC_ARCH:x86_64 XC_BUILD_SOURCE:/Users/chinaxxren/Study/New/ijkplayer2/shell/apple/../build/src/ios/libyuv-x86_64 XC_BUILD_NAME:libyuv-x86_64 XC_DEPLOYMENT_TARGET:-mios-simulator-version-min=11.0 XCRUN_SDK_PATH:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk XC_BUILD_PREFIX:/Users/chinaxxren/Study/New/ijkplayer2/shell/apple/../build/product/ios/libyuv-x86_64 THREAD_COUNT:12 XC_OPTS: ===check env end=== [*] cross compile, on x86_64 compile ios x86_64. CC: xcrun -sdk iphonesimulator clang CXX: xcrun -sdk iphonesimulator clang++ CFLAGS: -arch x86_64 -mios-simulator-version-min=11.0 -fembed-bitcode -Os -fomit-frame-pointer -Iinclude/ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk
/Users/chinaxxren/Study/New/ijkplayer2/shell/apple
=== [./do-compile/libyuv.sh] check env begin=== XC_ARCH:arm64 XC_BUILD_SOURCE:/Users/chinaxxren/Study/New/ijkplayer2/shell/apple/../build/src/ios/libyuv-arm64 XC_BUILD_NAME:libyuv-arm64 XC_DEPLOYMENT_TARGET:-miphoneos-version-min=11.0 XCRUN_SDK_PATH:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk XC_BUILD_PREFIX:/Users/chinaxxren/Study/New/ijkplayer2/shell/apple/../build/product/ios/libyuv-arm64 THREAD_COUNT:12 XC_OPTS: ===check env end=== [*] cross compile, on x86_64 compile ios arm64. CC: xcrun -sdk iphoneos clang CXX: xcrun -sdk iphoneos clang++ CFLAGS: -arch arm64 -miphoneos-version-min=11.0 -fembed-bitcode -Os -fomit-frame-pointer -Iinclude/ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk
参考这个issue: https://github.com/debugly/ijkplayer/issues/15
没有修改三方库源码的话,直接下载预编译库即可。
这里写错了,应该是 iOS,不是 macos
感谢提醒,已经修复了,下个版本更正。
(base) ➜ ios git:(master) ✗ ./compile-any.sh build all support thread count:12 Xcode 15.4 Build version 15F31d
XC_PLAT : [ios] XC_CMD : [build] XC_VENDOR_LIBS : [libyuv openssl opus dav1d ffmpeg] XC_TARGET_ARCHS : [x86_64 arm64] XC_OPTS : [] XC_FORCE_CROSS : [true]
===[build libyuv]==================== === [./do-compile/any.sh] check env begin=== XC_CMD:build XC_TARGET_ARCHS:x86_64 arm64 LIPO_LIBS:libyuv LIB_NAME:libyuv XC_OPTS: XC_FORCE_CROSS:true ===check env end=== [*] check depends bins:
=== [./do-compile/libyuv.sh] check env begin=== XC_ARCH:x86_64 XC_BUILD_SOURCE:/Users/chinaxxren/Study/New/ijkplayer2/shell/apple/../build/src/ios/libyuv-x86_64 XC_BUILD_NAME:libyuv-x86_64 XC_DEPLOYMENT_TARGET:-mios-simulator-version-min=11.0 XCRUN_SDK_PATH:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk XC_BUILD_PREFIX:/Users/chinaxxren/Study/New/ijkplayer2/shell/apple/../build/product/ios/libyuv-x86_64 THREAD_COUNT:12 XC_OPTS: ===check env end=== [*] cross compile, on x86_64 compile ios x86_64. CC: xcrun -sdk iphonesimulator clang CXX: xcrun -sdk iphonesimulator clang++ CFLAGS: -arch x86_64 -mios-simulator-version-min=11.0 -fembed-bitcode -Os -fomit-frame-pointer -Iinclude/ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.5.sdk
[*] configurate libyuv
[*] compile libyuv
/Users/chinaxxren/Study/New/ijkplayer2/shell/apple
=== [./do-compile/libyuv.sh] check env begin=== XC_ARCH:arm64 XC_BUILD_SOURCE:/Users/chinaxxren/Study/New/ijkplayer2/shell/apple/../build/src/ios/libyuv-arm64 XC_BUILD_NAME:libyuv-arm64 XC_DEPLOYMENT_TARGET:-miphoneos-version-min=11.0 XCRUN_SDK_PATH:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk XC_BUILD_PREFIX:/Users/chinaxxren/Study/New/ijkplayer2/shell/apple/../build/product/ios/libyuv-arm64 THREAD_COUNT:12 XC_OPTS: ===check env end=== [*] cross compile, on x86_64 compile ios arm64. CC: xcrun -sdk iphoneos clang CXX: xcrun -sdk iphoneos clang++ CFLAGS: -arch arm64 -miphoneos-version-min=11.0 -fembed-bitcode -Os -fomit-frame-pointer -Iinclude/ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.5.sdk
[*] configurate libyuv
[*] compile libyuv