随笔分类 -  ios

1 2 3 下一页
获取xcode下载地址的页面
摘要:https://developer.apple.com/download/more/ 阅读全文
posted @ 2017-06-20 00:24 袁晓平 阅读(997) 评论(0) 推荐(0)
cmake openssl ios
摘要:1 下载源代码 git clone https://github.com/pol51/OpenSSL-CMake.git cd OpenSSL-CMake mkdir build && cd build pico build.sh 内容如下两行 cmake -GXcode .. xcodebuild 阅读全文
posted @ 2017-04-12 17:45 袁晓平 阅读(828) 评论(0) 推荐(0)
Cross-compilation using Clang
摘要:Introduction This document will guide you in choosing the right Clang options for cross-compiling your code to a different architecture. It assumes yo 阅读全文
posted @ 2017-03-27 12:03 袁晓平 阅读(514) 评论(0) 推荐(0)
使用CMake编译跨平台静态库
摘要:在开始介绍如何使用CMake编译跨平台的静态库之前,先讲讲我在没有使用CMake之前所趟过的坑。因为很多开源的程序,比如png,都是自带编译脚本的。我们可以使用下列脚本来进行编译: . / configure -- prefix = / xxx / xx -- enable - static = Y 阅读全文
posted @ 2017-03-25 19:58 袁晓平 阅读(4024) 评论(0) 推荐(1)
ios-toolchain-based-on-clang-for-linux
摘要:https://github.com/tpoechtrager/cctools-port.git https://www.embtoolkit.org 阅读全文
posted @ 2017-03-23 10:57 袁晓平 阅读(437) 评论(0) 推荐(0)
使用gdb调试theos tweak插件
摘要:Mobilesubstrate injects your dylib into the target process. Debugging the target process using GDB or LLDB is also debugging your extension code. I wi 阅读全文
posted @ 2017-03-18 16:32 袁晓平 阅读(563) 评论(0) 推荐(0)
ARC下带CF前缀的类型与OC类型转换
摘要:在对钥匙串操作时这个函数 OSStatus SecItemCopyMatching(CFDictionaryRef query, CFTypeRef * __nullable CF_RETURNS_RETAINED result) 经常用到,表示查询Keychain里是否有符合条件的记录。第一个参数 阅读全文
posted @ 2017-02-19 10:41 袁晓平 阅读(810) 评论(0) 推荐(0)
重新签名IOS .ipa文件 (包含第三方框架和插件)
摘要:本文未经测试,初步看代码流程接近本人想法,留下作记录。Intoduction This code allow you to resign your own ipa assuming that you have:1) a developer certificate issued by apple an 阅读全文
posted @ 2016-08-26 16:49 袁晓平 阅读(3101) 评论(0) 推荐(0)
mac下编译optool方法
摘要:参考地址:http://www.mopsled.com/2016/build-optool-osx/ 1、git clone https://github.com/alexzielenski/optool.git 2、cd optool/ git submodule update --init -- 阅读全文
posted @ 2016-05-26 22:39 袁晓平 阅读(3333) 评论(1) 推荐(0)
制作自己的Cydia发布源
摘要:http://patrickmuff.ch/blog/2013/02/15/create-your-own-cydia-repository-on-ubuntu/ http://www.saurik.com/id/7 http://blog.csdn.net/jinzhu117/article/de 阅读全文
posted @ 2016-05-16 21:16 袁晓平 阅读(597) 评论(0) 推荐(0)
theos的makefile写法
摘要:theos的makefile写法与其他linux/unix环境下的makefile写法大同小异,但是对于makefile不熟悉的在导入一些dylib或者framework的时候就会变得很蛋疼。对于framework可以直接通过Frameworks和private frameworks来导入,但是dy 阅读全文
posted @ 2016-05-15 21:34 袁晓平 阅读(693) 评论(0) 推荐(0)
使用Python脚本强化LLDB调试器
摘要:LLDB是Xcode自带的调试器,作为一个iOS应用开发程序员,平时我在开发应用时会使用LLDB来调试代码。在逆向应用时,也会用到LLDB来跟踪应用的执行过程。 LLDB还内置了一个Python解析器,使用Python脚本可以方便LLDB的调试,比如自动化执行一些命令,或者自动化处理数据之类的,具体 阅读全文
posted @ 2016-04-25 23:37 袁晓平 阅读(793) 评论(0) 推荐(0)
ios tweak之binary not signed (use ldid -S)问题解决
摘要:参考tweak教程写了个简单的tweak,无奈完全无效果,摸索了好长时间才找到方法: 打开terminal ssh root@192.168.1.100 vim /var/log/syslog 找到如下几行: pr 11 23:05:45 iPhone http[4952]: MS:Error: b 阅读全文
posted @ 2016-04-19 15:31 袁晓平 阅读(803) 评论(0) 推荐(0)
ASIFormDataRequest实现post的代码示例
摘要:用jquery实现的Post方法可能如下 .xx.h @interface ChatViewController : UIViewController<ASIHTTPRequestDelegate> { } xx.m - (void) postMessage { NSString *s = [NSS 阅读全文
posted @ 2016-03-29 11:41 袁晓平 阅读(713) 评论(0) 推荐(0)
phonegap archive 报错 Cordova/CDVViewController.h' file not found
摘要:在BuildSettings->HeaderSearchPaths 增加如下路径,问题解决$(OBJROOT)/UninstalledProducts/include"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" 阅读全文
posted @ 2016-01-22 18:02 袁晓平 阅读(162) 评论(0) 推荐(0)
ionic preparing for ios 9
摘要:http://blog.ionic.io/preparing-for-ios-9/Preparing for iOS 9TweetBy MaxonSeptember 12, 2015iOS 9 is releasing next week, and with it comes some change... 阅读全文
posted @ 2015-09-24 12:06 袁晓平 阅读(361) 评论(0) 推荐(0)
ios9下ionic框架报[$rootScope:infdig] 10 $digest() iterations reached. Aborting!的解决办法
摘要:升级ios9后,ionic开发的app会报[$rootScope:infdig] 10 $digest() iterations reached. Aborting!的错误,加上一个patch就可以解决在index.html里引入jsapp.js里加入dependency'ngIOS9UIWebVi... 阅读全文
posted @ 2015-09-24 11:53 袁晓平 阅读(5003) 评论(0) 推荐(0)
苹果官方 Crash文件分析方法 (iOS系统Crash文件分析方法)
摘要:对于提交的苹果官方的app,在审核的时候会给我们一些crash文件,对于这些有用的文件,里面是关于我们的bug的一些信息,那么该如何去调试呢第一步:在任意目录创建一个目录,用来调试crash,我这里创建一个crash目录第二步:将之前Archive的文件copy到crash目录里面其中包括两个文件.... 阅读全文
posted @ 2015-08-27 10:03 袁晓平 阅读(696) 评论(0) 推荐(0)
iOS应用的crash日志的分析基础
摘要:Outline如何获得crash日志如何解析crash日志如何分析crash日志 1. iOS策略相关 2. 常见错误标识 3. 代码bug一、如何获得crash日志当一个iOS应用程序崩溃时,系统会创建一份crash日志保存在设备上。这份crash日志记录着应用程序崩溃时的信息,通常包含着每... 阅读全文
posted @ 2015-08-27 10:02 袁晓平 阅读(276) 评论(0) 推荐(0)
根据dwarfdump、Symbolicatecrash查找错误代码
摘要:dSYM文件获取:1.build2.Archive获取app UUID命令:dwarfdump --uuid YourApp.app.dSYM1.YourApp.app/YourApp2.YourApp.app.dSYM3.Crash log UUID3个一致,则可以执行下面的操作;dwarfdum... 阅读全文
posted @ 2015-08-27 10:00 袁晓平 阅读(424) 评论(0) 推荐(0)

1 2 3 下一页