Open agiokas opened 4 years ago
./build.sh iOS build arm64 this command completes successfully
This fork [1] fixes the issue and is well maintained!
This fork [1] fixes the issue and is well maintained!
Could you suggest which version to build?
I try to used least version. But...
clang: error: invalid iOS deployment version '-miphoneos-version-min=12.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]
version: e8332fb03782ad9c67c9bb684cfb063efe787134
libcrypto.a(libcrypto-lib-aes_cbc.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file 'SGPlayer/build/build/iOS/universal/lib/libcrypto.a' for architecture arm64
TIP: MaddTheSane/SGPlayer have swift code
This fork [1] fixes the issue and is well maintained! [1] https://github.com/MaddTheSane/SGPlayer
Could you suggest which version to build? version: e8332fb
libcrypto.a(libcrypto-lib-aes_cbc.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file 'SGPlayer/build/build/iOS/universal/lib/libcrypto.a' for architecture arm64
the same problem with you. @JordanMcCulloch @yycking Any help would be much appreciated!!
This fork [1] fixes the issue and is well maintained! [1] https://github.com/MaddTheSane/SGPlayer
Could you suggest which version to build?
I try to used least version. But...
clang: error: invalid iOS deployment version '-miphoneos-version-min=12.0', iOS 10 is the maximum deployment target for 32-bit targets [-Winvalid-ios-deployment-target]
I have the same problem, but solved it. two options you can select if you build iOS.
- remove "armv7" at FF_ALL_ARCHS_IOS
- change '-miphoneos-version-min=12.0' to '-miphoneos-version-min=8.0' at code block of
elif [ "$FF_ARCH" = "armv7" ]; then
I had update build script on https://github.com/yycking/SGPlayer/commit/fe43a10510c86079c9d70003a903e560ca94799d
But It had Warning
Could not create compact unwind for _ff_cfhd_init_vlcs: stack subq instruction is too different from dwarf stack size
I tried to run ./build.sh iOS build
But I get the following error
[ -n "/Users/A.Giokas/dev/SGPlayer/build/build/iOS/openssl-i386/output" ] # should be set by top Makefile... if [ -n "" ]; then \ set -e; \ echo installing gost; \ pfx=lib; \ if expr "darwin-i386-cc" : "Cygwin" >/dev/null; then \ sfx=".so"; \ cp cyggost.dll /Users/A.Giokas/dev/SGPlayer/build/build/iOS/openssl-i386/output/lib/engines/${pfx}gost$sfx.new; \ else \ case "-I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -fembed-bitcode -arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN" in \ DSO_BEOS) sfx=".so";; \ DSO_DLFCN) sfx=
expr ".1.0.0.dylib" : '.*\(\.[a-z][a-z]*\)' \| ".so"
;; \ DSO_DL) sfx=".sl";; \ DSO_WIN32) sfx="eay32.dll"; pfx=;; \ *) sfx=".bad";; \ esac; \ cp ${pfx}gost$sfx /Users/A.Giokas/dev/SGPlayer/build/build/iOS/openssl-i386/output/lib/engines/${pfx}gost$sfx.new; \ fi; \ chmod 555 /Users/A.Giokas/dev/SGPlayer/build/build/iOS/openssl-i386/output/lib/engines/${pfx}gost$sfx.new; \ mv -f /Users/A.Giokas/dev/SGPlayer/build/build/iOS/openssl-i386/output/lib/engines/${pfx}gost$sfx.new /Users/A.Giokas/dev/SGPlayer/build/build/iOS/openssl-i386/output/lib/engines/${pfx}gost$sfx; \ fi making install in apps... installing openssl cp: openssl: No such file or directory make[1]: [install] Error 1 make: [install_sw] Error 1