1、利用cocopods更新友盟SDK時,有時候會報錯:
The 'Pods-xxx' target has frameworks with conflicting names: ummobclick.framework
解決辦法:先注釋掉關(guān)于友盟的一切, 先update
之后,再全部打開友盟所用到的SDK,再update。 over!
2、在監(jiān)聽鍵盤彈出與退出的時候,執(zhí)行不到方法。報錯:
if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
解決辦法:xcode8的原因,
Xcode-> Product->Scheme->Edit scheme->Environment variables->添加OS_ACTIVITY MODE disable即可