真机调试

在客户的机器上运行App

解决: ipad要越狱+装91手机助手 -> iPhone下制作ipa教程(中)
记住: 把生成好的app放在Payload文件夹,打包zip格式,改后缀为.ipa.
其他:
iPhone App Ad Hoc Distribution Gotchas (英)<-问题
在Xcode中整合iOs4.2的iPhone SDK和iPhone ToolChain 4.2
91助手自动生成PXL

内存Bug

GDB:Program received signal: "EXC_BAD_ACCESS"  对象已被释放,但指针地址还在,并拿这个地址去访问它
cc (讨论)   查找 EXC_BAD_ACCESS 问题根源的方法 (不够完整)  Xcode EXC_BAD_ACCESS 错误调试 (完整)

malloc_history ${App_PID} ${Object_instance_addr} 

Received memory warning. Level=2

cc  

*** -[UIImage isKindOfClass:]: message sent to deallocated instance 0x4582e0

GDB: Interrupted

UIButton 用 buttonWithType 就是自动释放,用alloc/init才要手动释放.

报错: malloc_history cannot examine process 4604 because the process does not exist. 进程不存在.

关键词: malloc history cannot examine process because the process does not exist

其他Bug

Incompatible pointer type 不同的指针类型

虚拟机跑Mac

InterCPU,在BIOS打开虚拟化VT开关

你可能感兴趣的:(真机调试)