摘要: 我的原因是安装了两个版本的xcode,使用命令 sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/就可以了 阅读全文
posted @ 2016-09-30 17:43 I_O_S 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 1.sudo -S 可以进行用管道传递参数 -S The -S (stdin) option causes sudo to read the password from the standard input instead of the terminal device. The password m 阅读全文
posted @ 2016-09-20 15:07 I_O_S 阅读(185) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/guchengluoye/article/details/7498513 可以参考这个,第一个我作用成功了,是将TextField的Did End On Exit事件和我的App Delegate进行连接。第二个没试成功 阅读全文
posted @ 2016-09-20 15:04 I_O_S 阅读(506) 评论(0) 推荐(0) 编辑
摘要: http://blog.cnrainbird.com/index.php/2012/10/26/guan_yu_nstask_shi_yong_de_yi_xie_xin_de_ti_hui/?utm_source=rss 阅读全文
posted @ 2014-07-30 10:07 I_O_S 阅读(183) 评论(0) 推荐(0) 编辑
摘要: http://c.gzl.name/archives/tag/nsopenpanel这个比较好,很多博客的方法都已经deprecated了 阅读全文
posted @ 2014-07-29 11:38 I_O_S 阅读(233) 评论(0) 推荐(0) 编辑
摘要: just add -fno-stack-protector to thegccoptions to disable 阅读全文
posted @ 2014-07-28 21:42 I_O_S 阅读(348) 评论(0) 推荐(0) 编辑
摘要: 今天准备学习下ideviceinstaller,不过首先要编译通过。编译的时候提示找不到libimobiledevice。我的libimobiledevice是用brew装的,上网查找了下资料事必须设置PKG_CONFIG_PATH.关于PKG_CONFIG_PATH的具体作用可以参考http://www.laruence.com/2010/01/27/1265.html这个联接,其实就是告诉编译器库的头文件和库的lib文件的位置。所以直接设置export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig(我的系统是OSX 10.8.3,不同的系统可能不一样)。 阅读全文
posted @ 2013-09-28 19:07 I_O_S 阅读(1440) 评论(0) 推荐(0) 编辑
摘要: 链接:http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events注意最后的一个很好的总结:What Works & What Doesn't 阅读全文
posted @ 2013-08-20 15:55 I_O_S 阅读(193) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/chenghxc/article/details/8618497按这里面说的就行了. 阅读全文
posted @ 2013-08-07 21:16 I_O_S 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 今天装curl出现如下错误: Referenced from: /usr/local/bin/curl Reason: Incompatible library version: curl requires version 8.0.0 or later, but libcurl.4.dylib provides version 7.0.0Trace/BPT trap: 5解决方法:make install时候,别用sudo用sudo -s 他保证运行的时候用shell的环境变量。 阅读全文
posted @ 2013-05-31 17:39 I_O_S 阅读(656) 评论(0) 推荐(0) 编辑