随笔分类 -  ios

上一页 1 2 3 下一页
Error: "DEVELOPER_DIR" is not defined at ./symbolicatecrash line 53
摘要:项目问题解析“Error: "DEVELOPER_DIR" is not defined at ./symbolicatecrash line 53.”这个问题是最近调试app的时候出现的,因为自己提交的app遭到拒绝,需要调试,在使用symbolicatecrash的时候出现了问题。在这里的解决办... 阅读全文
posted @ 2015-08-27 09:59 袁晓平 阅读(794) 评论(0) 推荐(1)
symbolicatecrash位置
摘要:symbolicatecrash是一个隐藏工具,它在我的Mac中的具体路径如下(Xcode6.1.app请换成你的Xcode名称)/Applications/Xcode6.1.app/Contents/SharedFrameworks/DTDeviceKitBase.framework/Versio... 阅读全文
posted @ 2015-08-27 09:58 袁晓平 阅读(638) 评论(0) 推荐(0)
iphone 如何清空UIWebView的缓存
摘要:iphonecachingapplicationcookiescacheperformanceI actually think it may retain cached information when you close out the UIWebView. I've tried removing... 阅读全文
posted @ 2015-08-19 18:41 袁晓平 阅读(323) 评论(0) 推荐(0)
ionic cordova plugin for ios
摘要:源代码结构目录:payplugin:|_src |_android |_PayPlugin.java |_ios |_CDVPayPlugin.h |_CDVPayPlugin.m|_www |_payplugin.jsplugin.xml--================... 阅读全文
posted @ 2015-07-10 22:56 袁晓平 阅读(536) 评论(0) 推荐(0)
html5客户端跨域访问php服务端数据
摘要:客户端代码:var param = $.param( { feed:JSON.stringify({ content:'abcd' ... 阅读全文
posted @ 2015-06-11 21:50 袁晓平 阅读(198) 评论(0) 推荐(0)
ios8.3 编译 arm64版 openssl-1.0.2a
摘要:xcode是6.3版的,ios sdk 是8.3的,到http://www.openssl.org/source/下载最新版本openssl-1.0.2a解压后用文本编辑器打开configure文件,--------------------------------------------------... 阅读全文
posted @ 2015-05-28 21:54 袁晓平 阅读(495) 评论(0) 推荐(0)
ios 编译openssl支持arm64(转)
摘要:最近在编译支付宝 快捷支付(无线) ios 端的时候发现demo不支持arm64。在网上找了下,看到客服说是openssl的库文件不支持arm64,于是自己编译了支持arm64的库文件,发现还是不行,提示原来淘宝的库文件也不支持。问他们客服,缺迟迟不给出解决方案,到后面居然连话都不回了。。以上都是题... 阅读全文
posted @ 2015-05-28 15:06 袁晓平 阅读(752) 评论(0) 推荐(0)
将多个.a库合并为一个.a库的方法
摘要:如果编译了多个架构的静态库,想将它们合并为一个静态库的时候,可以用如下方法合并:sudo lipo -create /libs/ffmpeg/2.6.3/arm64/lib/libavcodec.a /libs/ffmpeg/2.6.3/armv7/lib/libavcodec.a /libs/ff... 阅读全文
posted @ 2015-05-26 11:08 袁晓平 阅读(674) 评论(0) 推荐(0)
xcode6.3 编译ffmpeg 2.6.3(已验证编译成功)
摘要:1、解压ffmpeg2.6.3源代码,在根目录下新建文件myconfig,内容如下,执行命令chmod 777 ./myconfig2、./myconfig3、make4、make install5、make clean编译好的库文件地址(指令集为armv7 armv7s arm64):http:/... 阅读全文
posted @ 2015-05-25 16:52 袁晓平 阅读(300) 评论(0) 推荐(0)
Xcode5 编译ffmpeg,arm64版本;H264
摘要:编译选项:./configure—-cc=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang --prefix=/Users/lushengpeng/Desktop/... 阅读全文
posted @ 2015-05-25 15:53 袁晓平 阅读(504) 评论(0) 推荐(0)
objective-c里的方法指针IMP的用法
摘要:SGPopSelectView.h@interface SGPopSelectView : UIView@property (nonatomic, assign) SEL selector;@property (nonatomic, assign) IMP functionIMP;@end-----... 阅读全文
posted @ 2015-03-24 11:21 袁晓平 阅读(290) 评论(0) 推荐(0)
this class is not key value coding-compliant for the key ##
摘要:setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key ##出现以上错误时很恶心,并不是代码的问题,是IB中连线的问题。打开console中提示出错的类的xib文件,把所有的连线删掉重新... 阅读全文
posted @ 2015-03-18 17:26 袁晓平 阅读(140) 评论(0) 推荐(0)
使用QHttp与C#编写的服务端交互(编译环境mingw)
摘要:打开qtcreator,新建一个项目,然后加一个头文件及源代码文件,如下:QtHttp.h:#ifndef QTHTTP_H #define QTHTTP_H #include <Qt/QObject.h> #include <Qt/qhttp.h> #include <QtCore/QString> #include <QtDebug> #include <Qt/qbytearray.h> class QtHttp : QObject { Q_OBJECT public: QtHttp(); virtual ~QtHttp(); p 阅读全文
posted @ 2012-12-02 17:24 袁晓平 阅读(354) 评论(0) 推荐(0)
QT类需要在编译前运行moc命令
摘要:qt相关的类里面加了些非c++标准的代码,所以需要在编译前将这些代码转换为标准的c++代码,可以运行如下命令生成,然后将生成的文件加入到项目里编译 /libs/qt4ios/developer/qt4ios/qt-everywhere-ios-gles2-4.8.1/bin/moc /Source/myapp/myapp/widget.h -o /Source/myapp/myapp/widget_p.mm 阅读全文
posted @ 2012-11-26 22:09 袁晓平 阅读(487) 评论(0) 推荐(0)
qt for ios库下载地址
摘要:http://qt-project.org/forums/viewthread/16560http://mediator-software.com/http://www.qt-iphone.com/Introduction.htmlhttp://qt.gitorious.org/+qt-iphone/qt/qt-iphone-clonehttps://twitter.com/Qt4iOS 阅读全文
posted @ 2012-11-24 22:46 袁晓平 阅读(406) 评论(0) 推荐(0)
Xcode 4.5.2 + iOS 6.0免证书(iDP)开发+真机调试+生成IPA全攻略
摘要:操作系统:os x lion 10.7.4xcode: 4.5.2ios:6.0参考文章:http://www.cnblogs.com/rywx/archive/2012/10/05/2712647.html 在没有iDP的情况下,要想将程序放到iPhone上调试,并最终发布IPA用于分享,需要以下几个步骤:1.自己为自己颁发一个证书用于为生成的程序签名2.修改工程配置以及Xcode的配置文件和二进制文件以阻止其验证和签名3.通过自定义生成步骤,用伪造的证书为应用程序签名4.使用一点小trick来生成IPA文件1.创建证书创建证书的过程比较简单,打开实用工具-钥匙串访问。然后在菜单栏里点击钥匙 阅读全文
posted @ 2012-11-15 22:32 袁晓平 阅读(14209) 评论(8) 推荐(2)
为ios编译openssl
摘要:ios版本:5.1os:lion 10.7.4 1)编译arm6makedirarm6lib./configure BSD-generic32 --prefix=/libs/openssl --openssldir=/libs/openssl更改文件MakeFileCC=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7CFLAG= -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRAN 阅读全文
posted @ 2012-11-11 20:43 袁晓平 阅读(732) 评论(0) 推荐(0)
编译ios版本的ffmpeg0.11.1
摘要:./configure \--cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc \--as='gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' \--sysroot=/Applications/Xcode.app/Contents/Developer/Platfo 阅读全文
posted @ 2012-10-25 21:22 袁晓平 阅读(267) 评论(0) 推荐(0)
用UIScrollView做一个支持两点触控缩放图片
摘要:ViewController.h:#import <UIKit/UIKit.h>@interface ViewController : UIViewController<UIGestureRecognizerDelegate> { float distStart,distEnd,scale; UIScrollView *scrollView; UIImage *image; UIImageView *imageView;}@endViewController.m:- (void)viewDidLoad{ [super viewDidLoad]; // Do any ad 阅读全文
posted @ 2012-09-16 15:16 袁晓平 阅读(1069) 评论(0) 推荐(0)
IOS开发之手势——UIGestureRecognizer 共存(转)
摘要:IOS开发之手势——UIGestureRecognizer 共存在 iPhone 或 iPad 的开发中,除了用touchesBegan / touchesMoved / touchesEnded这组方法来控制使用者的手指触控外,也可以用UIGestureRecognizer的衍生类別来进行判断。用UIGestureRecognizer的好处在于有现成的手势,开发者不用自己计算手指移动轨迹。UIGestureRecognizer的衍生类別有以下几种:UITapGestureRecognizerUIPinchGestureRecognizerUIRotationGestureRecognizer 阅读全文
posted @ 2012-09-06 23:17 袁晓平 阅读(265) 评论(0) 推荐(0)

上一页 1 2 3 下一页