以后博客搬到 https://shanyimin.github.io/ https://shanyimin.github.io/ https://shanyimin.github.io/ https://shanyimin.github.io/ https://shanyimin.github.io Read More
posted @ 2018-04-09 15:38 sym3099@gmail Views(166) Comments(0) Diggs(0) Edit
Objective-C Runtime Method Swizzling 实践 Read More
posted @ 2018-04-08 10:22 sym3099@gmail Views(169) Comments(0) Diggs(0) Edit
项目中使用了有赞SDK 6.1.0,用Xcode直接安装到手机没有问题,可以正常使用,但是用企业版inhouse证书打包为IPA后,上传到fir扫码安装,发现闪退,系统log如下: 后来发现有赞SDK 6.1.0的framework是动态framework,使用的话需要重新签名。签名的证书要和发布I Read More
posted @ 2018-01-29 16:11 sym3099@gmail Views(1152) Comments(0) Diggs(0) Edit
supervisor 监控nginx ,写好配置文件之后,发现一直在重启,排查之后发现是命令不对: command = /usr/local/bin/nginx 这个命令默认是后台启动,但是supervisor不能监控后台程序,所以supervisor就一直执行这个命令。 加上-g 'daemon Read More
posted @ 2017-12-04 09:36 sym3099@gmail Views(4514) Comments(0) Diggs(0) Edit
1 安装Supervisor 参见https://hacpai.com/article/1497093478747,也有其他的安装方式,请自行百度 Supervisor详解:http://blog.51cto.com/lixcto/1539136 2 启动Supervisor,启动命令1 :brew Read More
posted @ 2017-12-04 09:31 sym3099@gmail Views(618) Comments(1) Diggs(0) Edit
addChildViewController后 子vc viewWillAppear 不调用的问题 Read More
posted @ 2017-05-24 19:37 sym3099@gmail Views(1608) Comments(0) Diggs(0) Edit
1 确保你的ruby源是https://rubygems.org/ 国内的镜像不一定行 2 sudo gem install -n /usr/local/bin cocoapods 或者 sudo gem install -n /usr/local/bin cocoapods --pre 然后再 p Read More
posted @ 2016-12-23 09:15 sym3099@gmail Views(261) Comments(0) Diggs(0) Edit
addChildViewController 开启热点,wifi,打电话 引起的子vc的布局问题 Read More
posted @ 2016-12-08 11:05 sym3099@gmail Views(179) Comments(0) Diggs(0) Edit
如果pod undate 的时候报错"undefined method `root' for nil:NilClass" error when using "pod install" 或 NoMethodError - undefined method `dirname' for nil:NilCl Read More
posted @ 2016-10-20 19:08 sym3099@gmail Views(1346) Comments(0) Diggs(0) Edit
使用Cocoapods创建私有podspec 见文章:http://www.cocoachina.com/ios/20150228/11206.html 或http://blog.wtlucky.com/blog/2015/02/26/create-private-podspec/ 注意点: 1 按 Read More
posted @ 2016-10-19 23:06 sym3099@gmail Views(327) Comments(0) Diggs(0) Edit