錯(cuò)誤詳情:
ld: bitcode bundle could not be generated because '/Users/biyu6/Documents/CodingCode/OnlineEdu/OnlineEdu/IJKMediaFramework.framework/IJKMediaFramework(IJKAVMoviePlayerController.o)' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build file '/Users/biyu6/Documents/CodingCode/OnlineEdu/OnlineEdu/IJKMediaFramework.framework/IJKMediaFramework' for architecture armv7
錯(cuò)誤解決:
關(guān)閉bitcode
”Build Settings”->”Enable Bitcode” 改為 NO

PS:iOS中bitcode是可選項(xiàng),watchOS中bitcode是必選項(xiàng),MacOS不支持bitcode。
錯(cuò)誤的原因:
一般這個(gè)問(wèn)題出在引用第三方庫(kù)上,有些第三方庫(kù)不支持bitcode,在Archives打包時(shí)就會(huì)報(bào)這個(gè)錯(cuò)。
當(dāng)提交app到AppStore上時(shí),Xcode會(huì)將程序編譯為一個(gè)中間表現(xiàn)形式(bitcode)。然后AppStore會(huì)再將這個(gè)botcode編譯為可執(zhí)行的64位或32位程序。 bitcode允許蘋果在后期重新優(yōu)化程序的二進(jìn)制文件,而不需要重新提交一個(gè)新的版本到AppStore上。