- 博客(7)
- 收藏
- 关注
原创 xcode4.6安装cocos2d-x过程
xcode安装cocox2d-x 过程:首先去网上下载好cocox2d-x,我是在 http://code.google.com/p/cocos2d-x/downloads/list中下载的,下载的是2.1.4版本!可以打开看看里面的东西 然后打开Launchpad中的终端(即shell)程序进入到cocos2d-x-2.1.4这个文件夹中, 这里我存放的是在文稿中(即document
2013-10-31 09:27:56
876
原创 ios 配置编译好的ffmpeg解码库报错
全部配置好路径之后,突然发现报错了,错误信息如下Undefined symbols for architecture i386: "_compress", referenced from: _encode_strip in libavcodec.a(tiffenc.o) (maybe you meant: _mp3_header_compress
2013-09-13 10:49:45
2337
原创 mac1.8下面找到xcode4.6模拟器的路径打开沙盒目录
在 finder 上面选择 go to the folder 然后输入 /Users/电脑的用户名/Library/Application Support/iPhone Simulator/ 就可以了.
2013-06-17 15:37:50
1002
原创 ios6.0之后单个屏幕旋转,不用根视图以及Application windows are expected to have a root view controller at the end of
ios6.0之后的屏幕旋转: 之前6.0之前的方法是- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation{ return toInterfaceOrientation == UIInterfaceOrientationLandscapeRight ;
2013-05-27 17:13:52
892
原创 ios 编译项目报:error: failed to attach to process ID 0
ios 用模拟器编辑项目的时候报:error: failed to attach to process ID 0 真机调试又可以.解决方法: 把模拟器上面的对应的项目删除,然后重新clean一下xcode,再一次编译就可以了..
2013-05-27 13:39:40
563
原创 ios xcode4.2升级到4.6中使用的ffmepg报错
xocde4.2使用ffmepg的时候一直没有报错,但是突然升级了xcode4.6之后,一编译就出现了错误. 错误如下:ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/liuyang/Desktop/railway/UHomeTaichuan/UHomeTaichuan/libavcod
2013-05-24 16:55:15
496
原创 关于IOS第三方库RegexKitLite使用正则表达式查找NSString中的IP地址
最近做一个项目遇到从NSString中获取当中的IP地址使用 RegexKitLite第三库遇到的问题. 首先下载 RegexKitLite 导入 RegexKitLite.h 和RegexKitLite.m文件到项目中,然后导入系统自带的 libicucore.dylib. 这里就讲解RegexKitLite中的两个方法: 1.-(NSString *)stri
2013-01-25 17:22:44
641
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人