導(dǎo)入飛流SDK的時(shí)候出現(xiàn)的問題
image.png
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.
原來是某些二進(jìn)制庫不支持bitcode.而Xcode默認(rèn)是要支持bitcode的,而且如果支持的話,其中所有的二進(jìn)制庫和framework都必須包含bitcode.
我們可以直接將bitcode直接關(guān)掉就可以了。
target ---> Built Seeting --->搜索 bitcode —>將Yes置為No
使用Xcode8新建的工程需要注意四濒,如果遇到在iOS10才有的庫娱俺,需要在TARGETS->Build Phases找到該庫坚冀,將Required修改為Optianal,如果是之前的工程在升級(jí)Xcode后也不需要設(shè)置,當(dāng)然這里說的是UserNotifications.framework庫涤垫,至于其他的庫是否需要就去試試吧!這樣就解決問題了!
依舊沒有解決問題
image.png
可能是framework沒有完全導(dǎo)入工程
?? 這樣可以解決
image.png
值得一說的是罕模,飛流SDK給出的framework是真機(jī)包,不要在模擬器上浪費(fèi)時(shí)間