由于 iOS 編譯的特殊性,為了方便開發(fā)者使用,我們將 i386 x86_64 armv7 arm64 幾個(gè)平臺(tái)都合并到了一起,所以使用動(dòng)態(tài)庫(kù)上傳appstore時(shí)需要將i386 x86_64兩個(gè)平臺(tái)刪除后,才能正常提交審核
在SDK當(dāng)前路徑下執(zhí)行以下命令刪除i386 x86_64兩個(gè)平臺(tái)
bak文件是備份目錄,上傳appstore之后需要替換回bak目錄下的SDK
實(shí)時(shí)音視頻版本Hyphenate.framework
mkdir ./bakcp -r Hyphenate.framework ./baklipo Hyphenate.framework/Hyphenate -thin armv7 -outputHyphenate_armv7lipo Hyphenate.framework/Hyphenate -thin arm64 -outputHyphenate_arm64lipo -createHyphenate_armv7 Hyphenate_arm64 -outputHyphenatemv Hyphenate Hyphenate.framework/
不包含實(shí)時(shí)音視頻版本HyphenateLite.framework
mkdir ./bakcp -r HyphenateLite.framework ./baklipo HyphenateLite.framework/HyphenateLite -thin armv7 -outputHyphenateLite_armv7lipo HyphenateLite.framework/HyphenateLite -thin arm64 -outputHyphenateLite_arm64lipo -createHyphenateLite_armv7 HyphenateLite_arm64 -outputHyphenateLitemv HyphenateLite HyphenateLite.framework/