1.今天调试程序遇到这么一个警告!
Local declaration of 'XXX' hides instance variable
遇到这种原因,是因为本地变量跟函数参数变量同名。开来,还是要注意变量的命名啊!
2.开发中遇到error:invalid_request 一般是参数搞错了
error:redirect_uri_mismatch 是回调地址不匹配
3.报错Undefine symbol for architecture x86_64 就是文件没有
解决方法,进入bulild phrase CompileSurce加剑文件进行编译
报错duplicate symbol _OBJC_CLASS 就是文件重新编译了 只有两种情况,1.是导入了.m文件 2.是重复导入了文件
解决办法,进入bulild phrase CompileSurce删除重复的文件
所以把文件导入项目的时候一定要勾选 1.Copy items if needed 这是为了copy进去 2.Create groups 为了创建组 3.Add to target 为了让参与编译
转载请注明原文地址: https://ju.6miu.com/read-19498.html