首页 > 其他 > 详细

开发中遇到的一些问题

时间:2016-04-14 13:49:22      阅读:188      评论:0      收藏:0      [点我收藏+]

一、在登录注册模块

客户端发送请求给服务器,返回的数据显示register error

技术分享

 

后面通过打印sign 发现是邮箱注册的@变成了%40,发现在对sign进行加密时,对@进行了Urlcode.

解决的方法是不对@进行urlcode.

 

二、打开工程提示错误 The sandbox is not in sync with the Podfile.lock

 

http://stackoverflow.com/questions/21366549/errorthe-sandbox-is-not-in-sync-with-the-podfile-lock-after-installing-res

技术分享

三、storyboard提示错误Unknown class MyClass in Interface Builder file

原因是:LoginViewController 的文件名和 storyboardidentifier 不一致造成

解决方法:将LoginViewController 的文件名和 storyboardidentifier 修改成一致的

 

四、pod管理的工程打开时遇到 ‘‘library not found for -lPods-AFNetworking‘‘

"linker command failed with exit code 1 (use -v to see invocation).”这样的错误警告

原因:电脑不同pods 需重新安装一下 

解决方法:在工程根目录下运行一下podfile 文件即可。

 

开发中遇到的一些问题

原文:http://www.cnblogs.com/shycie/p/5390624.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!