iOS Xcode14 ITMS-90482: Invalid Executable contains bitcode #614
Labels
enhancement
New feature or request
fixed
Fixed in main branch
fixed-in-v6.0
fixed-on-development
Fixed on the development branch. Not released yet.
ios
Affect iOS platform
scripts
Affect build scripts
tvos
Affect tvOS platform
v5.1
Affects v5.1 release
hi, I built framworks by ios.sh file with branch master(
./ios.sh --disable-arm64-mac-catalyst --disable-arm64-simulator --disable-i386 --disable-x86-64 --disable-x86-64-mac-catalyst --enable-lame -l
). The 8 frameworks located at prebuild/bundle-apple-framework-ios-ltsIt worked well until I updated my Xcode to 14, because bitcode deprecated in Xcode14. So Apple rejected my APP for the follow reason:
I've learned the option -fembed-bitcode made the frameworks contain bitcode. So I removed the -fembed-bitcode in scripts/fuction-ios.sh file line 117, and this line turn out to be
echo "-fstrict-aliasing -DIOS ${LTS_BUILD_FLAG}${BUILD_DATE} -isysroot ${SDK_PATH}"
. But the building failedThe log detail is:
I wonder is there any way to build the frameworks not contain bitcode? Or how to solve the ITMS-90482: Invalid Executable - The executable 'xxx' contains bitcode problem?
Thanks for any help.
failed-build.log
The text was updated successfully, but these errors were encountered: