1、利用cocopods
更新友盟SDK
时,有时候会报错:
The 'Pods-xxx' target has frameworks with conflicting names: ummobclick.framework
解决办法:先注释掉关于友盟的一切, 先update
之后,再全部打开友盟所用到的SDK
,再update
。 over!
2、在监听键盘弹出与退出的时候,执行不到方法。报错:
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即可
网友评论