2016年5月30日

Centos System Info

摘要: 系统 # uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备 # lsusb -t 阅读全文

posted @ 2016-05-30 14:44 XCoderLiu 阅读(347) 评论(0) 推荐(0) 编辑

2016年3月27日

iOS xcodebuild 打包app

摘要: 1.传统的app打包(没有使用cocopods) 在打包之前,先把证书和配置文件选好。 step1:打开终端,cd 进入到工程目录中 step2:xcodebuild clean(如果buid文件存在,就把build过程生产出来的原有文件全部删除) step3:xcodebuild -target 阅读全文

posted @ 2016-03-27 11:49 XCoderLiu 阅读(313) 评论(0) 推荐(0) 编辑

2015年10月28日

Xcode部分插件无法使用识别的问题

摘要: 1. 首先查看 Xcode 的UUID,在终端执行defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID会得到一串UUID码.2. 找到 Xcode 插件所在的目录~/Library/Applica... 阅读全文

posted @ 2015-10-28 16:49 XCoderLiu 阅读(212) 评论(0) 推荐(0) 编辑

2015年7月15日

ios get airplay name

摘要: tarting from iOS7 AudioToolbox API for currentRoute becomes deprecated:Apple instead made currentRoute API available to you in AudioSession, which all... 阅读全文

posted @ 2015-07-15 11:43 XCoderLiu 阅读(318) 评论(0) 推荐(0) 编辑

2015年6月23日

Re-enable Alcatraz on Xcode 6.3.2 or newer

摘要: I’ve been usingAlcatrazto manage Xcode plug-ins for some time now. After updating to Xcode 6.3.2 and restarting, I was prompted with this:Without payi... 阅读全文

posted @ 2015-06-23 11:53 XCoderLiu 阅读(201) 评论(0) 推荐(0) 编辑

2015年4月29日

Apple LLVM 6.0 Warning: profile data may be out of date

摘要: I have no clue what this meant, so I googled the problem. I only ended up with some search results such as these:Email with Apple employees discussing... 阅读全文

posted @ 2015-04-29 09:48 XCoderLiu 阅读(296) 评论(0) 推荐(0) 编辑

2015年4月27日

iOS 第三方库冲突的处理

摘要: 最近项目组在做一些第三方功能的集成,不止一次的遇到第三方库冲突的问题,报错如下:duplicate symbol _OBJC_METACLASS_$_JKSerializer in: /Users/tony/Desktop/XXXProject/Lib/libMiPushSDK.a(JSONK... 阅读全文

posted @ 2015-04-27 17:28 XCoderLiu 阅读(519) 评论(0) 推荐(0) 编辑

iOS 检测网络切换

摘要: CFNotificationCenterAddObserver(CFNotificationCenterGetDarwinNotifyCenter(), //center NULL, // observer onNotifyCall... 阅读全文

posted @ 2015-04-27 10:38 XCoderLiu 阅读(816) 评论(0) 推荐(0) 编辑

2015年4月6日

iOS 设置connect超时

摘要: NSLock *theLock; [theLock lock]; int fd, error; struct sockaddr_in addr; if((fd = socket(AF_INET,SOCK_STREAM,0))<0) { cout<<"Err... 阅读全文

posted @ 2015-04-06 15:45 XCoderLiu 阅读(918) 评论(0) 推荐(0) 编辑

2015年3月13日

CGAffineTransformMake(a,b,c,d,tx,ty) 矩阵运算的原理

摘要: 简记:CGAffineTransformMake(a,b,c,d,tx,ty)ad缩放bc旋转tx,ty位移,基础的2D矩阵公式 x=ax+cy+tx y=bx+dy+ty1.矩阵的基本知识:struct CGAffineTransform{ CGFloat a, b, c, d; CGFloa... 阅读全文

posted @ 2015-03-13 10:52 XCoderLiu 阅读(354) 评论(0) 推荐(0) 编辑

导航