由于 iOS 編譯的特殊性买置,為了方便開發(fā)者使用秆麸,我們將 i386 x86_64 armv7 arm64 幾個平臺都合并到了一起失都,所以使用動態(tài)庫上傳appstore時需要將i386 x86_64兩個平臺刪除后缚态,才能正常提交審核
在SDK當(dāng)前路徑下執(zhí)行以下命令刪除i386 x86_64兩個平臺
bak文件是備份目錄卸留,上傳appstore之后需要替換回bak目錄下的SDK
實(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í)時音視頻版本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/